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

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

@@ -183,7 +183,7 @@ func GetChar() Event {
ev := _screen.PollEvent()
switch ev := ev.(type) {
case *tcell.EventResize:
return Event{Invalid, 0, nil}
return Event{Resize, 0, nil}
// process mouse events:
case *tcell.EventMouse: