mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
23 lines
385 B
Go
23 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
|
|
}
|