Ticket #3409: consoleCommandLineOnWin.patch
File consoleCommandLineOnWin.patch, 586 bytes (added by petersasi, 2 years ago) |
---|
-
basemode.py
diff -u a/basemode.py b/basemode.py
a b 68 68 signal.signal(signal.SIGWINCH, self.on_terminal_size) 69 69 except ValueError as ex: 70 70 log.debug('Unable to catch SIGWINCH signal: %s', ex) 71 except AttributeError as ex: 72 log.debug('Windows Curses and Python does not have SIGWINCH signal on Windows, skipping this: %s', ex) 73 pass 71 74 72 75 def on_terminal_size(self, *args): 73 76 # Get the new rows and cols value