2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-12 12:36:24 +00:00

Give indication of starting exit process

Particularly if recording the session, exit no longer is instant.  Provide feedback to user that the exit process is being worked.
This commit is contained in:
Jarrod Johnson
2026-09-11 09:23:48 -04:00
parent 65960df93e
commit a01f4ef877
+1
View File
@@ -414,6 +414,7 @@ class InputHandler:
await relay_keypresses(self.buffer[3:], modifiers=[SpecialKeys.ALT, SpecialKeys.SYSRQ])
self.reset_input_context()
elif self.buffer == '\x05c.' or self.buffer == '\x05cq': # Ctrl-E, then . or q
set_extra_text('Exiting...')
asyncio.get_running_loop().call_soon(sys.exit, 0)
return
elif self.buffer == '\x05cf': # Ctrl-E, then c, then f