Sudosh3 fork with terminal geometry saving and xterm resizing support