Skip to main content

selected_text

Function selected_text 

Source
pub fn selected_text(
    selection: (Position, Position),
    bounds: Rect,
    buffer: &Buffer,
) -> String
Expand description

The text a drag covered in a drawn frame: wide characters once, panel borders and trailing blanks dropped.