diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-03 12:41:01 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-03 14:10:30 -0500 |
commit | 82fc09895ec76cd07dda39f127ca5e5c21f8abf4 (patch) | |
tree | d85f52d37557e181d265c1263bb930712f56acaa /examples/parselog.rs | |
parent | 6bf9fcd440ce01b3a4ddecb0b8e2aedfbfa9b31a (diff) | |
download | r-alacritty-vte-82fc09895ec76cd07dda39f127ca5e5c21f8abf4.tar.gz r-alacritty-vte-82fc09895ec76cd07dda39f127ca5e5c21f8abf4.tar.bz2 r-alacritty-vte-82fc09895ec76cd07dda39f127ca5e5c21f8abf4.zip |
fix dcs handling, and add a test for it
Diffstat (limited to 'examples/parselog.rs')
-rw-r--r-- | examples/parselog.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/parselog.rs b/examples/parselog.rs index a2c3b2f..acd56dc 100644 --- a/examples/parselog.rs +++ b/examples/parselog.rs @@ -15,9 +15,9 @@ impl vte::Perform for Log { println!("[execute] {:02x}", byte); } - fn hook(&mut self, params: &[i64], intermediates: &[u8], ignore: bool) { - println!("[hook] params={:?}, intermediates={:?}, ignore={:?}", - params, intermediates, ignore); + fn hook(&mut self, params: &[i64], intermediates: &[u8], ignore: bool, c: char) { + println!("[hook] params={:?}, intermediates={:?}, ignore={:?}, char={:?}", + params, intermediates, ignore, c); } fn put(&mut self, byte: u8) { |