T09: mouse: selection by cell, word and line, Shift extends; reports for X10, normal, button and any tracking in X10, UTF-8 and SGR bytes, mode 9 followed by the tap; the wheel reports, sends arrows or scrolls history; copy, bracketed paste, copy on select, OSC 52; Cmd-press opens OSC 8 targets and URLs; a release goes out only for a press the terminal saw; shot posts mouse gestures and never activates
This commit is contained in:
19 files changed
+971
-27
No files matched your search
@@ -14,6 +14,9 @@ pub struct Ink {
|
||||
pub bg: Hsla,
|
||||
pub cursor: Hsla,
|
||||
pub cursor_text: Hsla,
|
||||
pub selection: Hsla,
|
||||
/// None keeps each cell's own color.
|
||||
pub selection_text: Option<Hsla>,
|
||||
}
|
||||
|
||||
impl Ink {
|
||||
@@ -31,6 +34,8 @@ impl Ink {
|
||||
bg: named(NamedColor::Background).unwrap_or(theme.background),
|
||||
cursor: named(NamedColor::Cursor).unwrap_or(theme.cursor),
|
||||
cursor_text: theme.cursor_text,
|
||||
selection: theme.selection_background,
|
||||
selection_text: theme.selection_foreground,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user