forked from aniani/vim
patch 9.0.0827: <Home> key in tmux doesn't work when 'term' set to "xterm"
Problem: The <Home> 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)
This commit is contained in:
@@ -5519,8 +5519,8 @@ check_termcode(
|
|||||||
// no match for "code;*X" with "code;"
|
// no match for "code;*X" with "code;"
|
||||||
continue;
|
continue;
|
||||||
else if (termcodes[idx].code[modslen] == '@'
|
else if (termcodes[idx].code[modslen] == '@'
|
||||||
&& tp[modslen] != '1')
|
&& (tp[modslen] != '1' || tp[modslen + 1] != ';'))
|
||||||
// no match for "<Esc>[@" with "<Esc>[1"
|
// no match for "<Esc>[@" with "<Esc>[1;"
|
||||||
continue;
|
continue;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
827,
|
||||||
/**/
|
/**/
|
||||||
826,
|
826,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user