Skip to content

Commit

Permalink
[curses-] ignore keys pressed before curses init #1993
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Oct 20, 2023
1 parent 8241cdc commit bec55f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions visidata/mainloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ def initCurses(vd):

curses.def_prog_mode()

curses.flushinp() #1993

return scr


Expand Down

0 comments on commit bec55f8

Please sign in to comment.