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

Revamp escape sequence processing for WSL

Also add support for alt-[0-9] and f1[12]
This commit is contained in:
Junegunn Choi
2016-11-19 22:40:28 +09:00
parent 4b332d831e
commit 8c661d4e8c
4 changed files with 184 additions and 243 deletions

View File

@@ -67,18 +67,24 @@ const (
F8
F9
F10
F11
F12
AltEnter
AltSpace
AltSlash
AltBS
AltA
Alt0
)
const ( // Reset iota
AltA = Alt0 + 'a' - '0' + iota
AltB
AltC
AltD
AltE
AltF
AltZ = AltA + 'z' - 'a'
)
@@ -136,7 +142,6 @@ type MouseEvent struct {
}
var (
_buf []byte
_color bool
_prevDownTime time.Time
_clickY []int