Skip to content

Commit fe72659

Browse files
committed
Fixed bug with read_clk
1 parent 402ab4e commit fe72659

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/admin_console/ainput.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ async def prompt_keystroke(self, prompt=': ', echo=True) -> str:
835835
self.is_reading = True
836836
self.loop.add_reader(self.stdin.fileno(), self._stdin_handler)
837837
await self.read_clk.wait()
838+
self.read_clk.clear()
838839
result = ''.join(self.current_input_buffer)
839840
if echo:
840841
self.stdout.write(''.join(result))

0 commit comments

Comments
 (0)