fill3: Stop ctrl-s from freezing eris.
This commit is contained in:
parent
16f823cf92
commit
a0e8173fb8
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ def alternate_buffer():
|
|||
def interactive():
|
||||
old_termios_settings = termios.tcgetattr(sys.stdin)
|
||||
new_settings = termios.tcgetattr(sys.stdin)
|
||||
new_settings[0] = new_settings[0] & ~termios.IXON
|
||||
new_settings[3] = new_settings[3] & ~termios.ECHO & ~termios.ICANON
|
||||
new_settings[6][termios.VMIN] = 0
|
||||
termios.tcsetattr(sys.stdin, termios.TCSADRAIN, new_settings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue