Skip to content

Commit bec55f8

Browse files
committed
[curses-] ignore keys pressed before curses init #1993
1 parent 8241cdc commit bec55f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

visidata/mainloop.py

+2
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ def initCurses(vd):
274274

275275
curses.def_prog_mode()
276276

277+
curses.flushinp() #1993
278+
277279
return scr
278280

279281

0 commit comments

Comments
 (0)