aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/00-rxvt-mouse-support
blob: be1aff701f4023034ade73dd9765834a851ffb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PATCH: -p0

--- terms.c.orig	Mon Oct 30 12:16:31 2000
+++ terms.c	Thu Nov  2 18:45:58 2000
@@ -240,7 +240,12 @@
     TerminalGet(tty, &d_ioval);
 #ifdef MOUSE
     term = getenv("TERM");
+#ifdef DEBIAN
+    if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5)
+	|| !strncmp(term, "rxvt", 4)) {
+#else
     if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5)) {
+#endif
 	is_xterm = 1;
     }
 #endif