mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-06 19:22:26 +03:00
1 parent
852c2d8f15
commit
bcd464aeec
1 file changed
+9
-8
+9
-8
@@ -363,16 +363,17 @@ impl<'a, N: Notify + 'a> Processor<'a, N> {
|
||||
return;
|
||||
}
|
||||
|
||||
// Didn't process a binding; print the provided character
|
||||
if let Some(mut string) = string {
|
||||
// from ST
|
||||
if string.len() == 1 && mods.contains(mods::ALT) {
|
||||
string.insert(0, '\x1b');
|
||||
}
|
||||
}
|
||||
|
||||
self.ctx.notifier.notify(string.into_bytes());
|
||||
self.ctx.selection.clear();
|
||||
// Didn't process a binding; print the provided character
|
||||
if let Some(mut string) = string {
|
||||
// from ST
|
||||
if string.len() == 1 && mods.contains(mods::ALT) {
|
||||
string.insert(0, '\x1b');
|
||||
}
|
||||
|
||||
self.ctx.notifier.notify(string.into_bytes());
|
||||
self.ctx.selection.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user