diff options
| -rwxr-xr-x | menuconfig.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/menuconfig.py b/menuconfig.py index 7d6a064..bf8396d 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1534,12 +1534,11 @@ def _jump_to_dialog(): _safe_curs_set(0) return True - if c == "\x1B": # \x1B = ESC + elif c == "\x1B": # \x1B = ESC _safe_curs_set(0) return False - - if c == curses.KEY_RESIZE: + elif c == curses.KEY_RESIZE: # We adjust the scroll so that the selected node stays visible in # the list when the terminal is resized, hence the 'scroll' # assignment |
