We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 402ab4e commit fe72659Copy full SHA for fe72659
1 file changed
src/admin_console/ainput.py
@@ -835,6 +835,7 @@ async def prompt_keystroke(self, prompt=': ', echo=True) -> str:
835
self.is_reading = True
836
self.loop.add_reader(self.stdin.fileno(), self._stdin_handler)
837
await self.read_clk.wait()
838
+ self.read_clk.clear()
839
result = ''.join(self.current_input_buffer)
840
if echo:
841
self.stdout.write(''.join(result))
0 commit comments