Enter to send·Shift+Enter new line
get_selection( self, selection: Selection, ) -> tuple[str, str] | None
selection
Selection
Copy the selected text as the reply reads, not as it wraps.
Soft-wrapped lines rejoin with a space, folded code lines with nothing. Indents, padding, and repeated blank lines drop out.
The selected range.