aboutsummaryrefslogtreecommitdiff
path: root/examples/parselog.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-02-01 00:03:42 +0000
committerGitHub <noreply@github.com>2020-02-01 00:03:42 +0000
commitcad136272a95c2f17bb6e25b2df02509bb7b86bf (patch)
tree0af0e86c5dfe608fa32d1400b23c19cecfc6fd60 /examples/parselog.rs
parent035c47fb362cc97fb42712e0138c55a7a4d318e4 (diff)
downloadr-alacritty-vte-cad136272a95c2f17bb6e25b2df02509bb7b86bf.tar.gz
r-alacritty-vte-cad136272a95c2f17bb6e25b2df02509bb7b86bf.tar.bz2
r-alacritty-vte-cad136272a95c2f17bb6e25b2df02509bb7b86bf.zip
Remove ESC params
Since ESC escapes cannot have parameters, they have been removed from the `esc_dispatch` function.
Diffstat (limited to 'examples/parselog.rs')
-rw-r--r--examples/parselog.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/parselog.rs b/examples/parselog.rs
index 331a003..4878f34 100644
--- a/examples/parselog.rs
+++ b/examples/parselog.rs
@@ -41,10 +41,10 @@ impl vte::Perform for Log {
);
}
- fn esc_dispatch(&mut self, params: &[i64], intermediates: &[u8], ignore: bool, byte: u8) {
+ fn esc_dispatch(&mut self, intermediates: &[u8], ignore: bool, byte: u8) {
println!(
- "[esc_dispatch] params={:?}, intermediates={:?}, ignore={:?}, byte={:02x}",
- params, intermediates, ignore, byte
+ "[esc_dispatch] intermediates={:?}, ignore={:?}, byte={:02x}",
+ intermediates, ignore, byte
);
}
}