diff options
author | Benawi Adha <benawiadha@gmail.com> | 2022-12-11 06:38:34 +0700 |
---|---|---|
committer | Benawi Adha <benawiadha@gmail.com> | 2022-12-11 06:38:34 +0700 |
commit | fed6dc9e14566408bf527ea123092ce5511e05e9 (patch) | |
tree | 15effe41902bd4dee50b569005c907785d68f531 | |
parent | 2fa606d92a7538ff7594ba338bdcd826cb18e398 (diff) | |
download | epy-fed6dc9e14566408bf527ea123092ce5511e05e9.tar.gz |
Fix issue #73
-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): |