pidgin: 6d5878bd: Need some refining for vt100 too, appare...

sadrul at pidgin.im sadrul at pidgin.im
Wed Feb 4 17:45:39 EST 2009


-----------------------------------------------------------------
Revision: 6d5878bd4a428da848f0599504c877a9a0dabbd5
Ancestor: a523717d6c4de9802fa07dc80a71f29ab456fc66
Author: sadrul at pidgin.im
Date: 2009-02-04T22:46:08
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6d5878bd4a428da848f0599504c877a9a0dabbd5

Modified files:
        finch/libgnt/gntkeys.c

ChangeLog: 

Need some refining for vt100 too, apparently. Fixes #8335.

-------------- next part --------------
============================================================
--- finch/libgnt/gntkeys.c	e0b769ab132e2621ecbaf7a68d05c5db3812e87d
+++ finch/libgnt/gntkeys.c	75afa0b358718e7700fee5c9f3b4717bca42a038
@@ -163,7 +163,8 @@ void gnt_keys_refine(char *text)
 			(*(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) {


More information about the Commits mailing list