mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 13:08:25 +00:00
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 |
||
|---|---|---|
| .. | ||
| collection.go | ||
| collection_test.go | ||