kitty/tools
Kovid Goyal 1fee9e89f6
ssh kitten: Allow per-host color schemes for dark and light mode
New color_scheme_dark, color_scheme_light and color_scheme_no_preference
options. When any of them is set, the ssh kitten sends the color schemes
for all three system color schemes to kitty, which applies the one
matching the current system color scheme and switches between them when
the system color scheme changes. color_scheme is used for modes without
a specific color scheme.

The colors are applied in a new session color layer, above the colors of
the window and below colors set by programs. They are associated with the
color stack entry pushed by the ssh kitten and are removed when it is
popped, so nested sessions work and the colors are restored on exit.

Configs that only use color_scheme continue to use escape codes exactly
as before, as does the kitten when running inside tmux.

Fixes #10724
2026-10-23 09:37:50 +05:30
..
cli Cover missing values after grouped and repeated options 2026-10-18 11:47:32 +05:00
cmd Fix crash with damaged images in set-window-logo/set-background-image 2026-10-21 22:38:43 +05:30
config Do not stay in the escape state after a backslash-newline in StringLiteral 2026-09-29 12:27:24 -04:00
crypto
disk_cache Cleanup previous PR 2026-10-11 12:11:06 +05:30
fzf
highlight
icons More work on the DnD kitten 2026-05-05 10:49:56 +05:30
ignorefiles choose-files: Do not crash on a bare "!" line in an ignore file 2026-09-25 14:36:37 -04:00
rsync Modernize Go code 2026-03-21 08:41:47 +05:30
simdstring ... 2026-03-12 13:48:20 +05:30
themes ssh kitten: Allow per-host color schemes for dark and light mode 2026-10-23 09:37:50 +05:30
tty Use SIMD base64 everywhere 2026-04-21 11:56:55 +05:30
tui Graphics protocol: Add indexed color image formats 2026-10-15 22:05:23 +05:30
unicode_names Update the list of NERD glyph names 2026-08-04 06:29:55 +05:30
utils Apply deferred directory permissions children first when extracting tar 2026-10-16 19:12:51 +05:30
vt run modernize 2025-11-11 17:09:37 +05:30
watch Fix empty kitty config dir causing watching for changes to kitty.conf failing 2026-09-02 09:36:03 +05:30
wcswidth Cleanup previous PR and make VS15 on explicit width cell behavior consistent with VS16 2026-09-18 22:59:19 +05:30
README.rst

This folder contains library and utility code for the various "kittens". Small
terminal programs compiled statically for doing things like kitty remote
control, icat etc. These are often re-implementations of earlier kittens that
were written in Python.