diff --git a/termpdf.py b/termpdf.py index 96ee9e0..f70e424 100755 --- a/termpdf.py +++ b/termpdf.py @@ -1521,6 +1521,8 @@ def view(file_change,doc): count = int(count_string) scr.stdscr.nodelay(True) + scr.stdscr.timeout(100) + key = scr.stdscr.getch() while key == -1 and not file_change.is_set(): key = scr.stdscr.getch()