soc.2008.finch: 1601c245: Remove arrow key special case for rxvt-u...

queueram at soc.pidgin.im queueram at soc.pidgin.im
Mon Sep 27 14:05:42 EDT 2010


----------------------------------------------------------------------
Revision: 1601c2451c449fe30fbcf967f29e4206928e7332
Parent:   3ad9a1b3fc34020c55ce1801613fb71580609a8a
Author:   queueram at soc.pidgin.im
Date:     09/27/10 11:57:05
Branch:   im.pidgin.soc.2008.finch
URL: http://d.pidgin.im/viewmtn/revision/info/1601c2451c449fe30fbcf967f29e4206928e7332

Changelog: 

Remove arrow key special case for rxvt-unicode.

Changes against parent 3ad9a1b3fc34020c55ce1801613fb71580609a8a

  patched  finch/libgnt/gntkeys.c

-------------- next part --------------
============================================================
--- finch/libgnt/gntkeys.c	1780358f13f969d63933b0e87f33200a3597cf88
+++ finch/libgnt/gntkeys.c	ee63befd7ec8b51fba5bc058d36956c43c1d8f2c
@@ -162,7 +162,7 @@ void gnt_keys_refine(char *text)
 	if (*text == 27 && *(text + 1) == '[' &&
 			(*(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 ||
+		if (strstr(term, "screen") == term ||
 				strstr(term, "xterm") == term ||
 				strstr(term, "vt100") == term)
 			*(text + 1) = 'O';


More information about the Commits mailing list