Created
April 15, 2022 02:58
-
-
Save adonis0147/6a3e88953f09688d3880c13f037f18d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/expect | |
| trap { | |
| set rows [stty rows] | |
| set cols [stty columns] | |
| stty rows $rows columns $cols < $spawn_out(slave,name) | |
| } WINCH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment