Do not ignore resize event from ncurses and tcell

This commit is contained in:
Junegunn Choi
2016-11-23 01:58:46 +09:00
parent 6a65006f55
commit 8524ea7441
4 changed files with 4 additions and 2 deletions

View File

@@ -190,6 +190,7 @@ const (
func defaultKeymap() map[int]actionType {
keymap := make(map[int]actionType)
keymap[tui.Invalid] = actInvalid
keymap[tui.Resize] = actClearScreen
keymap[tui.CtrlA] = actBeginningOfLine
keymap[tui.CtrlB] = actBackwardChar
keymap[tui.CtrlC] = actAbort