mod.go
This file
Path
mod.go
27 lines · 652 bytes · Go
Last changed by
Merge pull request #1118 from charmbracelet/v2-expAyman Bagabasbefore adoptiond1c8c97
History of this fileTake it
1package tea23import uv "github.com/charmbracelet/ultraviolet"45// KeyMod represents modifier keys.6type KeyMod = uv.KeyMod78// Modifier keys.9const (10 ModShift = uv.ModShift11 ModAlt = uv.ModAlt12 ModCtrl = uv.ModCtrl13 ModMeta = uv.ModMeta1415 // 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.1819 ModHyper = uv.ModHyper20 ModSuper = uv.ModSuper // Windows/Command keys2122 // These are key lock states.2324 ModCapsLock = uv.ModCapsLock25 ModNumLock = uv.ModNumLock26 ModScrollLock = uv.ModScrollLock // Defined in Windows API only27)