Enter to send·Shift+Enter new line
insert_at_cursor( self, text: str, ) -> bool
Insert text at the current cursor through the undoable edit path.
Leaves the cursor after the inserted text and keeps it visible once the chat input reflows.