diff options
-rw-r--r-- | src/epy_reader/reader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/epy_reader/reader.py b/src/epy_reader/reader.py index a903b62..cd56ac1 100644 --- a/src/epy_reader/reader.py +++ b/src/epy_reader/reader.py @@ -402,7 +402,7 @@ class Reader: stat.refresh() curses.echo(False) safe_curs_set(0) - return init_text + return init_text if init_text else NoUpdate() elif ipt in (Key(8), Key(127), Key(curses.KEY_BACKSPACE)): init_text = init_text[:-1] elif ipt == Key(curses.KEY_RESIZE): |