Check out my first novel, midnight's simulacra!

Terminfo

From dankwiki
Revision as of 20:46, 25 June 2021 by Dank (talk | contribs)

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.