Files
kitty-mirror/tools/tui/loop/capabilities.go
2025-01-03 21:30:05 +05:30

24 lines
385 B
Go

package loop
import (
"fmt"
)
var _ = fmt.Print
type ColorPreference uint8
const (
NO_COLOR_PREFERENCE ColorPreference = iota
DARK_COLOR_PREFERENCE
LIGHT_COLOR_PREFERENCE
)
type TerminalCapabilities struct {
KeyboardProtocol bool
KeyboardProtocolResponseReceived bool
ColorPreference ColorPreference
ColorPreferenceResponseReceived bool
}