From 80f114c3eee4e7192588d1348c81902bf7895fe6 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 28 Feb 2018 23:32:30 -0800 Subject: [PATCH] stubs for a couple of OSC sequences These do nothing, but at least we don't spew about them. --- term/src/terminalstate.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/term/src/terminalstate.rs b/term/src/terminalstate.rs index 8911c9eb2..1b685c5bb 100644 --- a/term/src/terminalstate.rs +++ b/term/src/terminalstate.rs @@ -1304,6 +1304,12 @@ impl<'a> vte::Perform for Performer<'a> { } } } + &[b"777", ..] => { + // Appears to be an old RXVT command to address perl extensions + } + &[b"7", _cwd_uri] => { + // OSC 7 is used to advise the terminal of the cwd of the running application + } _ => { if osc.len() > 0 { eprint!("OSC unhandled:");