Permalink
Browse files

patch 8.0.1021: older Gnome terminal still echoes t_RC

Problem:    Older Gnome terminal still echoes t_RC. (Fracois Ingelrest)
Solution:   Check for version > 3000 instead of 4000.
  • Loading branch information...
brammool committed Aug 30, 2017
1 parent 0f0f230 commit dc5471d482c372f547006325d7c8f16d6cc9d371
Showing with 6 additions and 3 deletions.
  1. +4 −3 src/term.c
  2. +2 −0 src/version.c
View
@@ -4562,9 +4562,10 @@ check_termcode(
&& STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
is_not_xterm = TRUE;
# endif
/* Gnome Terminal.app sends 1;4402;0, assuming any
* version number over 4000 is not an xterm. */
if (col >= 4000)
/* Gnome Terminal.app sends 1;3801;0 or 1;4402;0,
* assuming any version number over 3000 is not an
* xterm. */
if (col >= 3000)
is_not_xterm = TRUE;
/* Only request the cursor style if t_SH and t_RS are
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1021,
/**/
1020,
/**/

0 comments on commit dc5471d

Please sign in to comment.