From b920d5d424d969d215f23be6ff37c2611b7c4bcf Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sun, 8 Jan 2017 17:02:52 -0800 Subject: [PATCH] Add logging to test alt handling cc #93 --- src/input.rs | 2 ++ 1 file changed, 2 insertions(+) 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();