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)
diff --git a/src/term.c b/src/term.c
index 77ad08b..008734c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5519,8 +5519,8 @@
 			    // no match for "code;*X" with "code;"
 			    continue;
 			else if (termcodes[idx].code[modslen] == '@'
-							 && tp[modslen] != '1')
-			    // no match for "<Esc>[@" with "<Esc>[1"
+				     && (tp[modslen] != '1' || tp[modslen + 1] != ';'))
+			    // no match for "<Esc>[@" with "<Esc>[1;"
 			    continue;
 			else
 			{