...
This commit is contained in:
parent
762dfe8315
commit
5d2a276172
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ def wait_for_death(exit_code):
|
|||
pty.wait_till(lambda: 'child ready:' in pty.screen_contents())
|
||||
pty.set_window_size(columns=cols + 3)
|
||||
pty.wait_till(lambda: f'Screen size changed: {cols + 3}' in pty.screen_contents())
|
||||
pty.write_to_child('\x03')
|
||||
pty.write_to_child('\x03' * 64)
|
||||
pty.wait_till(lambda: 'KeyboardInterrupt' in pty.screen_contents(), timeout=30)
|
||||
wait_for_death(signal.SIGINT)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue