document kitty properties #1117

This commit is contained in:
nick black 2020-12-21 19:38:32 -05:00
parent d3fc0db1ee
commit 0ceb129125
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 16 additions and 0 deletions

View File

@ -69,6 +69,7 @@ steps:
image: dankamongmen/hirsute:2020-12-21a
commands:
- export LANG=en_US.UTF-8
- apt-get -y install cmake
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_MULTIMEDIA=none ..

View File

@ -33,6 +33,21 @@ The following have been established on a Debian Unstable workstation.
Note that `xfce4-terminal`, `gnome-terminal`, etc. are essentially skinning
atop the common VTE ("Virtual TErminal") library.
## Kitty
Kitty has some interesting, atypical behaviors. Foremost among these is that
an RGB background color equivalent to the configured default background color
will be rendered as the default background. This means, for instance, that if
the configured default background color is RGB(0, 0, 0), and is translucent,
a background of RGB(0, 0, 0) will be translucent. To work around this, when
`TERM` begins with "kitty", we detect the default background color, and when
we would write this as RGB, we alter one of the colors by 1. See
https://github.com/kovidgoyal/kitty/issues/3185 and
https://github.com/dankamongmen/notcurses/issues/1117.
Kitty is furthermore the only terminal I know to lack the `bce` capability, but
Notcurses never relies on `bce` behavior.
## GNU screen
GNU screen does have 24-bit color support, but only in the 5.X series. Note