Skip to content

Commit e854572

Browse files
Automatic refresh only every 1 second
Going to phase out the scheduled refreshes, and this will make bugs more obvious in the meantime
1 parent 06b9400 commit e854572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/curtsies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ def request_refresh(when='now'):
8282

8383
def event_or_refresh(timeout=None):
8484
if timeout is None:
85-
timeout = .2
85+
timeout = 1
8686
else:
87-
timeout = min(.2, timeout)
87+
timeout = min(1, timeout)
8888
starttime = time.time()
8989
while True:
9090
t = time.time()

0 commit comments

Comments
 (0)