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
@@ -321,3 +321,12 @@ fn super_is_kittys_eighth_bit() {
|
||||
Some("\x1b[27;9;13~")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pastes_end_lines_with_cr_or_go_bracketed_without_escapes() {
|
||||
assert_eq!(paste("a\r\nb\nc", false), b"a\rb\rc");
|
||||
assert_eq!(
|
||||
paste("x\n\x1b[201~rm\x03", true),
|
||||
b"\x1b[200~x\n[201~rm\x1b[201~"
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user