diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-02-09 12:50:17 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-02-09 13:07:40 -0500 |
commit | 1cc79222c23fc624cfa53e2ada0b61aad618b9d9 (patch) | |
tree | 0f0f415db35bd39f7e5553eaad6546d561f8995d /src/screen.rs | |
parent | 1b01fb4c2c687d5da8b041f59000374d973426e0 (diff) | |
download | vt100-rust-1cc79222c23fc624cfa53e2ada0b61aad618b9d9.tar.gz vt100-rust-1cc79222c23fc624cfa53e2ada0b61aad618b9d9.zip |
bump vte version
Diffstat (limited to 'src/screen.rs')
-rw-r--r-- | src/screen.rs | 18 |
1 files changed, 12 insertions, 6 deletions
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, ), } } |