1package tea
2
3import uv "github.com/charmbracelet/ultraviolet"
4
5// KeyMod represents modifier keys.
6type KeyMod = uv.KeyMod
7
8// Modifier keys.
9const (
10 ModShift = uv.ModShift
11 ModAlt = uv.ModAlt
12 ModCtrl = uv.ModCtrl
13 ModMeta = uv.ModMeta
14
15 // These modifiers are used with the Kitty protocol.
16 // XXX: Meta and Super are swapped in the Kitty protocol,
17 // this is to preserve compatibility with XTerm modifiers.
18
19 ModHyper = uv.ModHyper
20 ModSuper = uv.ModSuper // Windows/Command keys
21
22 // These are key lock states.
23
24 ModCapsLock = uv.ModCapsLock
25 ModNumLock = uv.ModNumLock
26 ModScrollLock = uv.ModScrollLock // Defined in Windows API only
27)