summaryrefslogtreecommitdiff
path: root/x11-terms
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2023-10-12 09:48:37 +0100
committerdakkar <dakkar@thenautilus.net>2023-10-12 09:48:37 +0100
commitc874c8e9432a90749d57525cd6ca732f629436bb (patch)
treebc4fb2468a16f19043b3885e0e0249c0c47f78b1 /x11-terms
downloadportage-patches-c874c8e9432a90749d57525cd6ca732f629436bb.tar.gz
portage-patches-c874c8e9432a90749d57525cd6ca732f629436bb.tar.bz2
portage-patches-c874c8e9432a90749d57525cd6ca732f629436bb.zip
from exelion
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/alacritty/meta-sends-esc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-terms/alacritty/meta-sends-esc.patch b/x11-terms/alacritty/meta-sends-esc.patch
new file mode 100644
index 0000000..89af647
--- /dev/null
+++ b/x11-terms/alacritty/meta-sends-esc.patch
@@ -0,0 +1,13 @@
+diff --git i/alacritty/src/input.rs w/alacritty/src/input.rs
+index 5728665..e7fec7a 100644
+--- i/alacritty/src/input.rs
++++ w/alacritty/src/input.rs
+@@ -1010,7 +1010,7 @@ impl<T: EventListener, A: ActionContext<T>> Processor<T, A> {
+
+ if alt_send_esc
+ && *self.ctx.received_count() == 0
+- && self.ctx.modifiers().alt()
++ && (self.ctx.modifiers().alt() || self.ctx.modifiers().logo())
+ && utf8_len == 1
+ {
+ bytes.insert(0, b'\x1b');