changeset 25058:135ee310d62c

Need some refining for vt100 too, apparently. Fixes #8335.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 04 Feb 2009 22:46:08 +0000
parents 4278d13b5471
children 49d51dbcb799
files finch/libgnt/gntkeys.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntkeys.c	Wed Feb 04 18:59:11 2009 +0000
+++ b/finch/libgnt/gntkeys.c	Wed Feb 04 22:46:08 2009 +0000
@@ -163,7 +163,8 @@
 			(*(text + 2) >= 'A' && *(text + 2) <= 'D')) {
 		/* Apparently this is necessary for urxvt and screen and xterm */
 		if (strstr(term, "screen") == term || strcmp(term, "rxvt-unicode") == 0 ||
-				strstr(term, "xterm") == term)
+				strstr(term, "xterm") == term ||
+				strstr(term, "vt100") == term)
 			*(text + 1) = 'O';
 	} else if (*(unsigned char*)text == 195) {
 		if (*(text + 2) == 0 && strstr(term, "xterm") == term) {