diff options
Diffstat (limited to 'examples')
-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) { |