~mna/zzterm

877b89d046a514d67ea092462f7ed6452c4b9b5f — Martin Angers 4 years ago be52f9b v0.1.1
fix reporting of f2 key in default esc seqs
1 files changed, 1 insertions(+), 1 deletions(-)

M esc.go
M esc.go => esc.go +1 -1
@@ 38,7 38,7 @@ var defaultEsc = map[string]Key{
	"\x1b[5~":    keyFromTypeMod(KeyPgUp, ModNone),
	"\x1b[6~":    keyFromTypeMod(KeyPgDn, ModNone),
	"\x1bOP":     keyFromTypeMod(KeyF1, ModNone),
	"\x1bOQ":     keyFromTypeMod(KeyF1, ModNone),
	"\x1bOQ":     keyFromTypeMod(KeyF2, ModNone),
	"\x1bOR":     keyFromTypeMod(KeyF3, ModNone),
	"\x1bOS":     keyFromTypeMod(KeyF4, ModNone),
	"\x1b[15~":   keyFromTypeMod(KeyF5, ModNone),