Created
December 23, 2014 15:57
-
-
Save avnik/26f7c0fbbd3e820c3cdd 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
| from fabric.network import ssh, io | |
| import time | |
| def patched_input_loop(chan, using_pty): | |
| while not chan.exit_status_ready(): | |
| time.sleep(ssh.io_sleep) | |
| io.input_loop = patched_input_loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment