I wish ncurses were more eager to adopt descriptions of innovations in terminal emulator design.
[1] https://github.com/kovidgoyal/kitty/issues/160#issuecomment-...
[2] https://sw.kovidgoyal.net/kitty/protocol-extensions.html#ext...
I wish ncurses were more eager to adopt descriptions of innovations in terminal emulator design.
[1] https://github.com/kovidgoyal/kitty/issues/160#issuecomment-...
[2] https://sw.kovidgoyal.net/kitty/protocol-extensions.html#ext...
On both real (DEC) terminals and terminal emulators, background colour erase is settable off and on, with DECECM; so a full-screen application can set the behaviour and know what the colour is going to be, leading to more efficient screen redraws. The ncurses/terminfo model, in contrast, is that the behaviour is fixed on or off, and a boolean (named bce) in the database tells softwares which it is for any given terminal type.
In reality, it is the paradigms of ncurses and terminfo that are the problems here.
* http://jdebp.uk./Softwares/nosh/guide/commands/TERM.xml#MEAN...