From 8ba04e721c3141a2eb686ed24f6c8813808fb9e8 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 12 Oct 2026 09:37:07 +0000 Subject: [PATCH] =?UTF-8?q?Clear=20implied=20Meta=20when=20discarding=20Ba?= =?UTF-8?q?ckTab=20modifiers,=20GitHub=20issue=205730=20from=20Joan=20Fabr?= =?UTF-8?q?=C3=A9gat.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input-keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input-keys.c b/input-keys.c index 3208a33c3..ee1e3aa87 100644 --- a/input-keys.c +++ b/input-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input-keys.c,v 1.114 2026/06/15 21:47:01 nicm Exp $ */ +/* $OpenBSD: input-keys.c,v 1.115 2026/10/12 09:37:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -621,7 +621,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key) key = '\011' | (key & ~KEYC_MASK_KEY) | KEYC_SHIFT; } else { /* Otherwise clear modifiers. */ - key &= ~KEYC_MASK_MODIFIERS; + key &= ~(KEYC_MASK_MODIFIERS|KEYC_IMPLIED_META); } }