I wanted a library for bringing up a graphical terminal window, drawing characters on it, reading user input, and doing nothing else. Here's the one I made:
https://github.com/rsaarelm/sodna/The
header is all there is to the interface. The screen buffer is an array to 32-bit cells, which contain the 8-bit character and 12-bit background and foreground colors. You draw on the screen by getting the pointer from the interface and modifying the array. The
demo program provides a more detailed usage example.
My use case for this is calling the library through a foreign function interface from a non-C language, so I want to keep the library free of any kind of application logic that could just as well be implemented on the host language. Sodna's role is to stick to the window management, graphical display and input handling which has to access external systems.
It's MIT licensed, feel free to pick it up if it looks like something you could use.