Check out my first novel, midnight's simulacra!
Terminfo: Difference between revisions
From dankwiki
No edit summary |
|||
Line 5: | Line 5: | ||
* Strikethrough (<tt>sgr</tt> 9) | * Strikethrough (<tt>sgr</tt> 9) | ||
* Kitty's [https://github.com/kovidgoyal/kitty/issues/3185 weird replacement of RGB matching the default background color] | * Kitty's [https://github.com/kovidgoyal/kitty/issues/3185 weird replacement of RGB matching the default background color] | ||
* Ordering of x/y coordinates when retrieving cursor location | * Ordering of x/y coordinates when retrieving cursor location (this might be u6?) | ||
==Desired additions== | ==Desired additions== | ||
Line 13: | Line 13: | ||
* RGB default background discovery query | * RGB default background discovery query | ||
* Individual enable/disable for each style. In particular, the ANSI <tt>CSI 22 m</tt> escape that disables bold/dim ought have a terminfo entry. | * Individual enable/disable for each style. In particular, the ANSI <tt>CSI 22 m</tt> escape that disables bold/dim ought have a terminfo entry. | ||
* <tt>XTPOPCOLORS</tt>/<tt>XTPUSHCOLORS</tt> | |||
==Community extensions== | ==Community extensions== |
Revision as of 09:06, 27 June 2021
Terminal differences that aren't really handled in terminfo include:
- Precise mechanisms of setaf/setbf and interactions with palette-indexed color
- 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 (this might be u6?)
Desired additions
- 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.
- Application Synchronized Updates (currently discovered via $2026 query) header and footer
- RGB default background discovery query
- Individual enable/disable for each style. In particular, the ANSI CSI 22 m escape that disables bold/dim ought have a terminfo entry.
- XTPOPCOLORS/XTPUSHCOLORS
Community extensions
These capabilities are not described in the most recent terminfo man page at the time of this writing, but are more or less widespread.
- smxx/rmxx begin and end strikeout mode (terminfo has os, a boolean capability indicating that the terminal supports strikeout)
- Smulx/rmulx begin and end extended underline mode (supports multiple underline forms)
- Su scrolls up some number of lines