Ask a question to get started
Enter to send•Shift+Enter new line
Handle a key event. Returns how the event was handled.
on_key( self, event: events.Key, text: str, cursor_index: int ) -> CompletionResult