m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Fix handling of arrow keys with alt and/or shift modifier

Fix #2254

- Properly handle extra chars in the buffer. Patch suggested by @mckelly2833.
- Support alt-arrow sequences in \e[1;3A format
- Support shift-alt-arrow sequences in \e[1;10A format
This commit is contained in:
Junegunn Choi
2020-11-24 19:36:58 +09:00
parent 1efef88b6e
commit 3fe8eeedc5
5 changed files with 87 additions and 5 deletions

View File

@@ -98,6 +98,11 @@ const (
AltLeft
AltRight
AltSUp
AltSDown
AltSLeft
AltSRight
Alt0
)