forked from goodboy/tractor
1
0
Fork 0

Add sleep around ctl-c iteration loop

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-11 14:05:05 -04:00
parent 91054a8a42
commit 24fd87d969
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ def do_ctlc(
# make sure ctl-c sends don't do anything but repeat output
for _ in range(count):
time.sleep(0.001)
child.sendcontrol('c')
child.expect(r"\(Pdb\+\+\)")