forked from toolshed/abra
chore: make deps, go mod vendor
This commit is contained in:
28
vendor/github.com/charmbracelet/x/ansi/keypad.go
generated
vendored
Normal file
28
vendor/github.com/charmbracelet/x/ansi/keypad.go
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
package ansi
|
||||
|
||||
// Keypad Application Mode (DECKPAM) is a mode that determines whether the
|
||||
// keypad sends application sequences or ANSI sequences.
|
||||
//
|
||||
// This works like enabling [DECNKM].
|
||||
// Use [NumericKeypadMode] to set the numeric keypad mode.
|
||||
//
|
||||
// ESC =
|
||||
//
|
||||
// See: https://vt100.net/docs/vt510-rm/DECKPAM.html
|
||||
const (
|
||||
KeypadApplicationMode = "\x1b="
|
||||
DECKPAM = KeypadApplicationMode
|
||||
)
|
||||
|
||||
// Keypad Numeric Mode (DECKPNM) is a mode that determines whether the keypad
|
||||
// sends application sequences or ANSI sequences.
|
||||
//
|
||||
// This works the same as disabling [DECNKM].
|
||||
//
|
||||
// ESC >
|
||||
//
|
||||
// See: https://vt100.net/docs/vt510-rm/DECKPNM.html
|
||||
const (
|
||||
KeypadNumericMode = "\x1b>"
|
||||
DECKPNM = KeypadNumericMode
|
||||
)
|
Reference in New Issue
Block a user