diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2019-11-14 22:39:25 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2019-11-14 22:39:35 +0900 |
commit | 168453da71af199a76279b9d4017ad1f72ba1f26 (patch) | |
tree | 4f90c733c9e53c0c3f99640172d656acbc65681c /src/tui/tcell.go | |
parent | 23a06d63ac63352206b7f6d1ca6973cb1cc5dac3 (diff) |
More key chords for --bind
Close #1752
Diffstat (limited to 'src/tui/tcell.go')
-rw-r--r-- | src/tui/tcell.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tui/tcell.go b/src/tui/tcell.go index 098e8a18..4bd7c812 100644 --- a/src/tui/tcell.go +++ b/src/tui/tcell.go @@ -284,6 +284,12 @@ func (r *FullscreenRenderer) GetChar() Event { return Event{keyfn('z'), 0, nil} case tcell.KeyCtrlSpace: return Event{CtrlSpace, 0, nil} + case tcell.KeyCtrlBackslash: + return Event{CtrlBackSlash, 0, nil} + case tcell.KeyCtrlRightSq: + return Event{CtrlRightBracket, 0, nil} + case tcell.KeyCtrlUnderscore: + return Event{CtrlSlash, 0, nil} case tcell.KeyBackspace2: if alt { return Event{AltBS, 0, nil} |