~mna/zzterm

74798c8592018b43ce4fcd57ad0aa9ed7942a4cb — Martin Angers 4 years ago 0d2ee24 v0.2.0
fix escape sequences for home/end
1 files changed, 2 insertions(+), 2 deletions(-)

M esc.go
M esc.go => esc.go +2 -2
@@ 33,8 33,8 @@ var defaultEsc = map[string]Key{
	"\x1b[2~":    keyFromTypeMod(KeyInsert, ModNone),
	"\x1b[3~":    keyFromTypeMod(KeyDelete, ModNone),
	"\x1b[Z":     keyFromTypeMod(KeyBacktab, ModNone),
	"\x1bOH":     keyFromTypeMod(KeyHome, ModNone),
	"\x1bOF":     keyFromTypeMod(KeyEnd, ModNone),
	"\x1b[H":     keyFromTypeMod(KeyHome, ModNone),
	"\x1b[F":     keyFromTypeMod(KeyEnd, ModNone),
	"\x1b[5~":    keyFromTypeMod(KeyPgUp, ModNone),
	"\x1b[6~":    keyFromTypeMod(KeyPgDn, ModNone),
	"\x1bOP":     keyFromTypeMod(KeyF1, ModNone),