Please sign in to comment.
terminal.py: From now on when you resize a terminal it will no longer…
… reduce the width of existing lines to fit within self.cols. Having said that, if a newline is encountered on an existing line that has a width greater than self.cols that line *will* be resized to fit. This should allow for dynamically resizing terminal windows that contain long (browser-wrapped) lines while also allowing applications like 'top' to function properly. gateone.js: Tweaked things a bit related to resizing to make sure that terminals stay scrolled to the bottom. termio.py: Moved 'import signal' to the top of the file. Other parts of Gate One use the signal module all the time so it isn't really a benefit to load it dynamically. termio.py: Added signal.SIGWINCH back to the code (uncommented it). Testing from long ago revealed problems but the logic inside termio.Multiplex() has changed considerably since then and tests have shown it to be reliable in the current code base.
- Loading branch information...
Showing with 28 additions and 19 deletions.