mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
parent
b7f43ac023
commit
b920d5d424
1 changed files with 2 additions and 0 deletions
|
@ -368,9 +368,11 @@ impl<'a, N: Notify + 'a> Processor<'a, N> {
|
||||||
// Didn't process a binding; print the provided character
|
// Didn't process a binding; print the provided character
|
||||||
if let Some(mut string) = string {
|
if let Some(mut string) = string {
|
||||||
// from ST
|
// from ST
|
||||||
|
println!("process_key got string={:?}, mods={:?}, key={:?}", string, mods, key);
|
||||||
if string.len() == 1 && mods.contains(mods::ALT) {
|
if string.len() == 1 && mods.contains(mods::ALT) {
|
||||||
string.insert(0, '\x1b');
|
string.insert(0, '\x1b');
|
||||||
}
|
}
|
||||||
|
println!("process_key sending {:?}", string);
|
||||||
|
|
||||||
self.ctx.notifier.notify(string.into_bytes());
|
self.ctx.notifier.notify(string.into_bytes());
|
||||||
self.ctx.selection.clear();
|
self.ctx.selection.clear();
|
||||||
|
|
Loading…
Reference in a new issue