mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
Handle color scheme changes in choose-files kitten
This commit is contained in:
@@ -14,6 +14,17 @@ const (
|
||||
LIGHT_COLOR_PREFERENCE
|
||||
)
|
||||
|
||||
func (c ColorPreference) String() string {
|
||||
switch c {
|
||||
case DARK_COLOR_PREFERENCE:
|
||||
return "dark"
|
||||
case LIGHT_COLOR_PREFERENCE:
|
||||
return "light"
|
||||
default:
|
||||
return "no-preference"
|
||||
}
|
||||
}
|
||||
|
||||
type TerminalCapabilities struct {
|
||||
KeyboardProtocol bool
|
||||
KeyboardProtocolResponseReceived bool
|
||||
|
||||
Reference in New Issue
Block a user