diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2018-09-27 15:54:04 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2018-09-28 10:33:53 +0900 |
commit | 72df90590245d7bf30085030bff6b0c04e5a7c40 (patch) | |
tree | fa11bc7ccafb26941a014fa945ac0f9a7c0d9faf | |
parent | 0d748a0699760003444efca219eb4bb245996008 (diff) |
Do not wait for more keystrokes after double escape characters
Close #1393
-rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 83527df3..edeb621c 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -381,6 +381,8 @@ func (r *LightRenderer) escSequence(sz *int) Event { alt = true } switch r.buffer[1] { + case ESC: + return Event{ESC, 0, nil} case 32: return Event{AltSpace, 0, nil} case 47: |