Skip to content

Commit a7517c9

Browse files
Small bug fix in input_timeout
1 parent ffc7379 commit a7517c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

prompt_toolkit/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,8 @@ def _get_char_loop(self):
238238
calls_from_executor, self._calls_from_executor = self._calls_from_executor, []
239239
for c in calls_from_executor:
240240
c()
241-
242-
timeout = None
243241
else:
244-
#
242+
# Handle input timeout.
245243
self.on_input_timeout()
246244
timeout = None
247245

0 commit comments

Comments
 (0)