Programmer 832-529 🍅smallsees@social.dropbear.xyz
Apr 4, 2024, 10:21 AMBy the way, if there happens to be a #ncurses or #terminfo expert out there, I got a question for you.
What's the "right" way of sending the capabilities as there are global variables and things extracted with tgetstr(capname)
As far as I can tell, putp(clear_screen);
is identical to
c = tgetstr("cl",&ap); putp(c);
The clear_screen and cl values coming from terminfo(5).
The answer isn't "use the real ncurses functions" unless you can punt 256 colours (fg and bg) through.