From 1cc79222c23fc624cfa53e2ada0b61aad618b9d9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 9 Feb 2020 12:50:17 -0500 Subject: bump vte version --- src/screen.rs | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/screen.rs') diff --git a/src/screen.rs b/src/screen.rs index c72f1dd..af85277 100644 --- a/src/screen.rs +++ b/src/screen.rs @@ -1218,7 +1218,7 @@ impl vte::Perform for Screen { } } - fn osc_dispatch(&mut self, params: &[&[u8]]) { + fn osc_dispatch(&mut self, params: &[&[u8]], _bel_terminated: bool) { match (params.get(0), params.get(1)) { (Some(&b"0"), Some(s)) => self.osc0(s), (Some(&b"1"), Some(s)) => self.osc1(s), @@ -1234,19 +1234,25 @@ impl vte::Perform for Screen { } } - fn hook(&mut self, params: &[i64], intermediates: &[u8], _ignore: bool) { + fn hook( + &mut self, + params: &[i64], + intermediates: &[u8], + _ignore: bool, + action: char, + ) { if log::log_enabled!(log::Level::Debug) { - // TODO: include the final byte here (it seems to be a bug that - // the vte parser doesn't currently pass it to this method) match intermediates.get(0) { None => log::debug!( - "unhandled dcs sequence: DCS {}", + "unhandled dcs sequence: DCS {} {}", param_str(params), + action, ), Some(i) => log::debug!( - "unhandled dcs sequence: DCS {} {}", + "unhandled dcs sequence: DCS {} {} {}", i, param_str(params), + action, ), } } -- cgit v1.2.3-54-g00ecf