forked from charmbracelet/bubbletea
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.go
More file actions
27 lines (20 loc) · 652 Bytes
/
mod.go
File metadata and controls
27 lines (20 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package tea
import uv "github.com/charmbracelet/ultraviolet"
// KeyMod represents modifier keys.
type KeyMod = uv.KeyMod
// Modifier keys.
const (
ModShift = uv.ModShift
ModAlt = uv.ModAlt
ModCtrl = uv.ModCtrl
ModMeta = uv.ModMeta
// These modifiers are used with the Kitty protocol.
// XXX: Meta and Super are swapped in the Kitty protocol,
// this is to preserve compatibility with XTerm modifiers.
ModHyper = uv.ModHyper
ModSuper = uv.ModSuper // Windows/Command keys
// These are key lock states.
ModCapsLock = uv.ModCapsLock
ModNumLock = uv.ModNumLock
ModScrollLock = uv.ModScrollLock // Defined in Windows API only
)