ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.591 by sf-exg, Thu May 13 19:40:19 2021 UTC vs.
Revision 1.595 by root, Sun Nov 21 23:34:23 2021 UTC

25 * - extensive modifications 25 * - extensive modifications
26 * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> 26 * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org>
27 * Copyright (c) 2001 Marius Gedminas 27 * Copyright (c) 2001 Marius Gedminas
28 * - Ctrl/Mod4+Tab works like Meta+Tab (options) 28 * - Ctrl/Mod4+Tab works like Meta+Tab (options)
29 * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> 29 * Copyright (c) 2003 Rob McMullen <robm@flipturn.org>
30 * Copyright (c) 2003-2014 Marc Lehmann <schmorp@schmorp.de> 30 * Copyright (c) 2003-2021 Marc Lehmann <schmorp@schmorp.de>
31 * Copyright (c) 2007,2015 Emanuele Giaquinta <e.giaquinta@glauco.it> 31 * Copyright (c) 2007,2015 Emanuele Giaquinta <e.giaquinta@glauco.it>
32 * 32 *
33 * This program is free software; you can redistribute it and/or modify 33 * This program is free software; you can redistribute it and/or modify
34 * it under the terms of the GNU General Public License as published by 34 * it under the terms of the GNU General Public License as published by
35 * the Free Software Foundation; either version 3 of the License, or 35 * the Free Software Foundation; either version 3 of the License, or
168 int len; 168 int len;
169 169
170# if ENABLE_COMBINING 170# if ENABLE_COMBINING
171 if (IS_COMPOSE (ch)) 171 if (IS_COMPOSE (ch))
172 { 172 {
173 len = rxvt_composite.expand (ch, 0); 173 len = rxvt_composite.expand (ch);
174 alloc = chr = new wchar_t[len]; 174 alloc = chr = new wchar_t[len];
175 rxvt_composite.expand (ch, chr); 175 rxvt_composite.expand (ch, chr);
176 } 176 }
177 else 177 else
178# endif 178# endif
3019 case 7: /* unofficial extension */ 3019 case 7: /* unofficial extension */
3020 if (option (Opt_insecure)) 3020 if (option (Opt_insecure))
3021 tt_printf ("%-.250s\012", rs[Rs_display_name]); 3021 tt_printf ("%-.250s\012", rs[Rs_display_name]);
3022 break; 3022 break;
3023 case 8: /* unofficial extension */ 3023 case 8: /* unofficial extension */
3024 process_xterm_seq (XTerm_title, RESNAME "-" VERSION, CHAR_ST); 3024 process_xterm_seq (XTerm_title, (char *)RESNAME "-" VERSION, CHAR_ST); // char * cast verified
3025 break; 3025 break;
3026 } 3026 }
3027 break; 3027 break;
3028 3028
3029 case CSI_TBC: /* 8.3.155: (0) TABULATION CLEAR */ 3029 case CSI_TBC: /* 8.3.155: (0) TABULATION CLEAR */
3595 case URxvt_version: 3595 case URxvt_version:
3596 if (query) 3596 if (query)
3597 tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c", 3597 tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c",
3598 op, 3598 op,
3599 rs[Rs_name], VERSION[0], VERSION[2], 3599 rs[Rs_name], VERSION[0], VERSION[2],
3600 resp);
3601 break;
3602
3603 case URxvt_cellinfo:
3604 if (query)
3605 tt_printf ("\33]%d;%d;%d;%d%c", saveop,
3606 fwidth, fheight, fbase,
3600 resp); 3607 resp);
3601 break; 3608 break;
3602 3609
3603#if !ENABLE_MINIMAL 3610#if !ENABLE_MINIMAL
3604 case URxvt_locale: 3611 case URxvt_locale:
3731 // 1037 send DEL for keypad delete NYI 3738 // 1037 send DEL for keypad delete NYI
3732 { 1047, PrivMode_Screen }, 3739 { 1047, PrivMode_Screen },
3733 // 1048 save and restore cursor, implemented in code 3740 // 1048 save and restore cursor, implemented in code
3734 { 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */ 3741 { 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */
3735 // 1051, 1052, 1060, 1061 keyboard emulation NYI 3742 // 1051, 1052, 1060, 1061 keyboard emulation NYI
3743#if ENABLE_FRILLS
3736 { 2004, PrivMode_BracketPaste }, 3744 { 2004, PrivMode_BracketPaste },
3745#endif
3737 }; 3746 };
3738 3747
3739 if (nargs == 0) 3748 if (nargs == 0)
3740 return; 3749 return;
3741 3750

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines