Awesome! Reminds me of the good old days of QuickBasic and SCREEN 13, when you could write very small programs with fullscreen graphics. I still have not figured out how to do fullscreen graphics on my Mac.
Fui: C library for interacting with the framebuffer in a TTY context
11–20 of 70 posts
Re: Fui: C library for interacting with the framebuffer in a TTY context
#12Any license on this?
Re: Fui: C library for interacting with the framebuffer in a TTY context
#13Awesome! Reminds me of the good old days of QuickBasic and SCREEN 13, when you could write very small programs with fullscreen graphics. I still have not figured out how to do fullscreen graphics on my Mac.
You can't, you don't have direct access to the framebuffer. Unless by "fullscreen" you just mean spanning from end-to-end in which case you can create an opengl or metal view and just set the fullscreen style mask.
Re: Fui: C library for interacting with the framebuffer in a TTY context
#14Re: Fui: C library for interacting with the framebuffer in a TTY context
#15Interesting, I guess you could port LVGL to this and get a full GUI?
Re: Fui: C library for interacting with the framebuffer in a TTY context
#16Can someone explain what “the framebuffer” is? I’m familiar with OpenGL programming where the OS can provide a framebuffer for an application but I’m confused about whether there is a global framebuffer for the entire desktop. Is this a Linux specific concept?
Re: Fui: C library for interacting with the framebuffer in a TTY context
#17Awesome! Reminds me of the good old days of QuickBasic and SCREEN 13, when you could write very small programs with fullscreen graphics. I still have not figured out how to do fullscreen graphics on my Mac.
>how to do fullscreen graphics on my Mac You can't, you don't have direct access to the framebuffer. Unless by "fullscreen" you just mean spanning from end-to-end in which case you can create an opengl or metal view and just set the fullscreen style mask.
Why is this the case? What would be the problem with allowing it?
Re: Fui: C library for interacting with the framebuffer in a TTY context
#18Re: Fui: C library for interacting with the framebuffer in a TTY context
#19Re: Fui: C library for interacting with the framebuffer in a TTY context
#20Earlier quoted context omitted.
>how to do fullscreen graphics on my Mac You can't, you don't have direct access to the framebuffer. Unless by "fullscreen" you just mean spanning from end-to-end in which case you can create an opengl or metal view and just set the fullscreen style mask.
> You can't, you don't have direct access to the framebuffer. Why is this the case? What would be the problem with allowing it?
They used to allow it, but they removed the API after 10.6
https://developer.apple.com/library/archive/documentation/Gr...
I guess on modern macOS CGDisplayCapture() is the closest example that still works (although clearly there is still some compositing going on since the orange-dot microphone indicator still appears, and you can get the dock to appear over it if you activate mission control. I'm guessing it does the equivalent of a full-screen window but then tries to lock input somehow).