From: Bram Moolenaar Date: Tue, 1 Nov 2022 22:04:40 +0000 (+0000) Subject: patch 9.0.0827: key in tmux doesn't work when 'term' set to "xterm" X-Git-Tag: v9.0.0827 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1410d1841bfc4370dec1babe24c6664e06d7c9d9;p=vim patch 9.0.0827: key in tmux doesn't work when 'term' set to "xterm" Problem: The key in tmux doesn't work when 'term' is set to "xterm". (Dominique Pellé) Solution: Only use '@' in a termcap key entry for "1" when ";" follows. (closes #11429) --- diff --git a/src/term.c b/src/term.c index 77ad08bf1..008734c27 100644 --- a/src/term.c +++ b/src/term.c @@ -5519,8 +5519,8 @@ check_termcode( // no match for "code;*X" with "code;" continue; else if (termcodes[idx].code[modslen] == '@' - && tp[modslen] != '1') - // no match for "[@" with "[1" + && (tp[modslen] != '1' || tp[modslen + 1] != ';')) + // no match for "[@" with "[1;" continue; else { diff --git a/src/version.c b/src/version.c index 86cf25ad0..7e422594f 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 827, /**/ 826, /**/