diff options
author | Joe Wilm <joe@jwilm.com> | 2016-09-27 08:27:39 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-09-27 08:27:39 -0700 |
commit | 7e69a070aaf92eff3bea1878bd77821b5ae60ede (patch) | |
tree | 3f023c347424abded1175cecfe3843094403c972 /src/event.rs | |
parent | 077a058cc428db8b1a9ec13f2a9c49ba500f7ac0 (diff) | |
download | alacritty-7e69a070aaf92eff3bea1878bd77821b5ae60ede.tar.gz alacritty-7e69a070aaf92eff3bea1878bd77821b5ae60ede.zip |
Don't write v when pasting on macOS
This is a bit of an experiment to see if simply handling 'v' in the
bindings will work or has any bugs not going through ReceivedCharacter.
The change is necessary though to prevent 'v' from being written in
front of every clipboard paste.
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs index 3dbe1e4b..cb99999a 100644 --- a/src/event.rs +++ b/src/event.rs @@ -42,6 +42,8 @@ impl<N: input::Notify> Processor<N> { '\u{8}' | '\u{7f}' => (), // OSX arrow keys send invalid characters; ignore. '\u{f700}' | '\u{f701}' | '\u{f702}' | '\u{f703}' => (), + // These letters are handled in the bindings system + 'v' => (), _ => { let encoded = c.encode_utf8(); self.notifier.notify(encoded.as_slice().to_vec()); |