3 ms·
The api is lower–level than that. It is very similar to ncurses which just gives you a primitive window; a rectangular subsection of the screen that can be scro
by db48x 3y ago
The api is lower–level than that. It is very similar to ncurses which just gives you a primitive window; a rectangular subsection of the screen that can be scrolled independently of the rest. It doesn’t give you a bunch of UI widgets like buttons and checkboxes that can be conveniently shown off in screenshots. You can build a whole TUI without ever even using those windows, because in a lot of UIs the content of the windows don’t need to scroll.
(And of course there’s all that stuff about colors, and notcurses adds functions for rendering bitmaps and videos into windows that ncurses doesn’t have.)