Skip to content

Commit c212798

Browse files
committed
patch 8.0.1094: using ssh from Terminal.app runs into xterm incompatibility
Problem: Using ssh from Terminal.app runs into xterm incompatibility. Solution: Also detect Terminal.app on non-Mac systems.
1 parent b4d5fba commit c212798

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/term.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4566,12 +4566,12 @@ check_termcode(
45664566
/* Detect terminals that set $TERM to something like
45674567
* "xterm-256colors" but are not fully xterm
45684568
* compatible. */
4569-
# ifdef MACOS
4569+
45704570
/* Mac Terminal.app sends 1;95;0 */
45714571
if (version == 95
45724572
&& STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
45734573
is_not_xterm = TRUE;
4574-
# endif
4574+
45754575
/* Gnome terminal sends 1;3801;0, 1;4402;0 or 1;2501;0.
45764576
* xfce4-terminal sends 1;2802;0.
45774577
* screen sends 83;40500;0

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
1094,
772774
/**/
773775
1093,
774776
/**/

0 commit comments

Comments
 (0)