# HG changeset patch # User Bram Moolenaar # Date 1667384338 -3600 # Node ID a82629ff46c8e095a631da10f482c952f11ff5b5 # Parent 02725270885edf10de6500d2815876a87e7e6784 patch 9.0.0827: key in tmux doesn't work when 'term' set to "xterm" Commit: https://github.com/vim/vim/commit/1410d1841bfc4370dec1babe24c6664e06d7c9d9 Author: Bram Moolenaar Date: Tue Nov 1 22:04:40 2022 +0000 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 827, +/**/ 826, /**/ 825,