Check out my first novel, midnight's simulacra!
Terminfo: Difference between revisions
From dankwiki
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
* A string which can match the terminal's reply to <tt>XTVERSION</tt>, to test whether we've got a terminfo database which doesn't correspond to the terminal we're actually using. | * A string which can match the terminal's reply to <tt>XTVERSION</tt>, to test whether we've got a terminfo database which doesn't correspond to the terminal we're actually using. | ||
[[CATEGORY: Terminals]] |
Revision as of 20:46, 25 June 2021
Terminfo differences that aren't really handled in terminfo include:
- Precise mechanisms of setaf/setbf
- Whether ANSI 39 "Default foreground color" / ANSI 49 "Default background color" can be used distinctly (you just get op, often defined as op=\E[39;49m
- Strikethrough (sgr 9)
- Kitty's weird replacement of RGB matching the default background color
- Ordering of x/y coordinates when retrieving cursor location
Some things I'd like to see added:
- A string which can match the terminal's reply to XTVERSION, to test whether we've got a terminfo database which doesn't correspond to the terminal we're actually using.