diff options
author | wustho <benawiadha@gmail.com> | 2020-04-18 12:29:49 +0700 |
---|---|---|
committer | wustho <benawiadha@gmail.com> | 2020-04-18 12:29:49 +0700 |
commit | 206e4829c434cb212dea661de8ecbb6d50244191 (patch) | |
tree | e3ae95769d9920d3160f744dcf3ef664d2795f1c /epy.py | |
parent | adb00d02d4e7a3625314714bdc450b6a6f481a88 (diff) | |
download | epy-206e4829c434cb212dea661de8ecbb6d50244191.tar.gz |
Fixed resizing terminal error when defining word.
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1321,7 +1321,10 @@ def reader(ebook, index, width, y, pctg, sect): return bmtojump[1]-index, width, bmtojump[2], bmtojump[3], "" elif k in K["DefineWord"] and DICT is not None: word = input_prompt(" Define:") - if word is not None: + if word == curses.KEY_RESIZE: + k = word + continue + elif word is not None: defin = define_word(word) if defin in WINKEYS: k = defin |