Skip to content

Commit

Permalink
document kitty properties #1117
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Dec 22, 2020
1 parent d3fc0db commit 0ceb129
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down
15 changes: 15 additions & 0 deletions TERMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ceb129

Please sign in to comment.