mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-02-01 11:34:59 +01:00
24 lines
385 B
Go
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
|
|
}
|