finch/libgnt/gntmain.c

branch
soc.2007.finchfeat
changeset 19314
472ad9489d68
parent 19307
0027732ddb26
child 19317
61e0384e95d1
equal deleted inserted replaced
19313:3e25f043dbb8 19314:472ad9489d68
250 goto end; 250 goto end;
251 251
252 if (HOLDING_ESCAPE) 252 if (HOLDING_ESCAPE)
253 keys[0] = '\033'; 253 keys[0] = '\033';
254 k = keys; 254 k = keys;
255 if(*k < 0){ /* Alt not sending ESC* */ 255
256 #if 0
257 /* I am not sure what's happening here. If this actually does something,
258 * then this needs to go in gnt_keys_refine. */
259 if (*k < 0) { /* Alt not sending ESC* */
256 *(k + 1) = 128 - *k; 260 *(k + 1) = 128 - *k;
257 *k = 27; 261 *k = 27;
258 *(k + 2) = 0; 262 *(k + 2) = 0;
259 rd++; 263 rd++;
260 } 264 }
265 #endif
266
261 while (rd) { 267 while (rd) {
262 char back; 268 char back;
263 int p; 269 int p;
264 270
265 if (k[0] == '\033' && rd == 1) { 271 if (k[0] == '\033' && rd == 1) {

mercurial