Mercurial > pidgin.yaz
comparison console/libgnt/gntkeys.c @ 14976:2ccce4e114ca
[gaim-migrate @ 17754]
*cough*
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 15 Nov 2006 20:11:01 +0000 |
parents | 99112cd4a2f4 |
children | 1c0772f7260b |
comparison
equal
deleted
inserted
replaced
14975:c0d6f960675b | 14976:2ccce4e114ca |
---|---|
12 if (!term) | 12 if (!term) |
13 term = ""; /* Just in case */ | 13 term = ""; /* Just in case */ |
14 } | 14 } |
15 | 15 |
16 if (*text == 27 && *(text + 1) == '[' && *(text + 3) == '\0' && | 16 if (*text == 27 && *(text + 1) == '[' && *(text + 3) == '\0' && |
17 (*(text + 2) >= 'A' || *(text + 2) <= 'D')) { | 17 (*(text + 2) >= 'A' && *(text + 2) <= 'D')) { |
18 /* Apparently this is necessary for urxvt and screen and xterm */ | 18 /* Apparently this is necessary for urxvt and screen and xterm */ |
19 if (strcmp(term, "screen") == 0 || strcmp(term, "rxvt-unicode") == 0 || | 19 if (strcmp(term, "screen") == 0 || strcmp(term, "rxvt-unicode") == 0 || |
20 strcmp(term, "xterm") == 0) | 20 strcmp(term, "xterm") == 0) |
21 *(text + 1) = 'O'; | 21 *(text + 1) = 'O'; |
22 } else if (*(unsigned char*)text == 195) { | 22 } else if (*(unsigned char*)text == 195) { |