]> granicus.if.org Git - vim/commitdiff
patch 8.0.1094: using ssh from Terminal.app runs into xterm incompatibility v8.0.1094
authorBram Moolenaar <Bram@vim.org>
Mon, 11 Sep 2017 18:34:13 +0000 (20:34 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 11 Sep 2017 18:34:13 +0000 (20:34 +0200)
Problem:    Using ssh from Terminal.app runs into xterm incompatibility.
Solution:   Also detect Terminal.app on non-Mac systems.

src/term.c
src/version.c

index bc8c6ace266965acd19ca26dcad7f0742fbab076..22c7c9a1f953eb115d3545cb53e355d2db3f96b5 100644 (file)
@@ -4566,12 +4566,12 @@ check_termcode(
                        /* Detect terminals that set $TERM to something like
                         * "xterm-256colors"  but are not fully xterm
                         * compatible. */
-#  ifdef MACOS
+
                        /* Mac Terminal.app sends 1;95;0 */
                        if (version == 95
                                && STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
                            is_not_xterm = TRUE;
-#  endif
+
                        /* Gnome terminal sends 1;3801;0, 1;4402;0 or 1;2501;0.
                         * xfce4-terminal sends 1;2802;0.
                         * screen sends 83;40500;0
index 88849e995e24ef7024817b5f5e70ba08f0d1a682..013038816e22398b3abd831030f1fdc130dc19ca 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1094,
 /**/
     1093,
 /**/