forked from goodboy/tractor
Add sleep around ctl-c iteration loop
parent
925d5c1ceb
commit
56b30a9a53
|
@ -155,6 +155,7 @@ def do_ctlc(
|
||||||
|
|
||||||
# make sure ctl-c sends don't do anything but repeat output
|
# make sure ctl-c sends don't do anything but repeat output
|
||||||
for _ in range(count):
|
for _ in range(count):
|
||||||
|
time.sleep(0.001)
|
||||||
child.sendcontrol('c')
|
child.sendcontrol('c')
|
||||||
child.expect(r"\(Pdb\+\+\)")
|
child.expect(r"\(Pdb\+\+\)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue