Ask a question to get started
Enter to send•Shift+Enter new line
handle_mode_prefix_keystroke( self, char: str, ) -> bool
Switch input mode for a mode trigger typed at the start of the input.
Handles the switch before TextArea inserts the character so the trigger (!, !!, /) never flashes on screen for a frame before the change handler would strip it.
TextArea
!
!!
/