diff finch/libgnt/gntmain.c @ 19120:b25cb0775be3

explicit merge of 'e53fe113efde971f9f1d14d8a7af937542ee2732' and 'fac895a331d8ffa475b42a0eaf193587799661b9'
author Eric Polino <aluink@pidgin.im>
date Thu, 28 Jun 2007 03:09:03 +0000
parents 1cb69ea47a6e
children 576edd9c4f72
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Wed Jun 27 19:31:39 2007 +0000
+++ b/finch/libgnt/gntmain.c	Thu Jun 28 03:09:03 2007 +0000
@@ -246,6 +246,12 @@
 	if (HOLDING_ESCAPE)
 		keys[0] = '\033';
 	k = keys;
+	if(*k < 0){ /* Alt not sending ESC* */
+		*(k + 1) = 128 - *k;
+		*k = 27;
+		*(k + 2) = 0;
+		rd++;
+	}
 	while (rd) {
 		char back;
 		int p;