diff options
author | Joe Wilm <joe@jwilm.com> | 2017-01-08 17:02:52 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-01-08 17:02:52 -0800 |
commit | b920d5d424d969d215f23be6ff37c2611b7c4bcf (patch) | |
tree | ce7952986d5d0e186d8386564ea3c5d5af61abba | |
parent | b7f43ac0236d5dcaa1e6c7d3a22189faa4342932 (diff) | |
download | alacritty-alt-key-tester.tar.gz alacritty-alt-key-tester.zip |
Add logging to test alt handlingalt-key-tester
cc #93
-rw-r--r-- | src/input.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs index 47ce52fa..d6d597e1 100644 --- a/src/input.rs +++ b/src/input.rs @@ -368,9 +368,11 @@ impl<'a, N: Notify + 'a> Processor<'a, N> { // Didn't process a binding; print the provided character if let Some(mut string) = string { // from ST + println!("process_key got string={:?}, mods={:?}, key={:?}", string, mods, key); if string.len() == 1 && mods.contains(mods::ALT) { string.insert(0, '\x1b'); } + println!("process_key sending {:?}", string); self.ctx.notifier.notify(string.into_bytes()); self.ctx.selection.clear(); |