--- rxvt-unicode/src/command.C 2021/05/13 19:40:19 1.591 +++ rxvt-unicode/src/command.C 2021/11/21 23:34:23 1.595 @@ -27,7 +27,7 @@ * Copyright (c) 2001 Marius Gedminas * - Ctrl/Mod4+Tab works like Meta+Tab (options) * Copyright (c) 2003 Rob McMullen - * Copyright (c) 2003-2014 Marc Lehmann + * Copyright (c) 2003-2021 Marc Lehmann * Copyright (c) 2007,2015 Emanuele Giaquinta * * This program is free software; you can redistribute it and/or modify @@ -170,7 +170,7 @@ # if ENABLE_COMBINING if (IS_COMPOSE (ch)) { - len = rxvt_composite.expand (ch, 0); + len = rxvt_composite.expand (ch); alloc = chr = new wchar_t[len]; rxvt_composite.expand (ch, chr); } @@ -3021,7 +3021,7 @@ tt_printf ("%-.250s\012", rs[Rs_display_name]); break; case 8: /* unofficial extension */ - process_xterm_seq (XTerm_title, RESNAME "-" VERSION, CHAR_ST); + process_xterm_seq (XTerm_title, (char *)RESNAME "-" VERSION, CHAR_ST); // char * cast verified break; } break; @@ -3600,6 +3600,13 @@ resp); break; + case URxvt_cellinfo: + if (query) + tt_printf ("\33]%d;%d;%d;%d%c", saveop, + fwidth, fheight, fbase, + resp); + break; + #if !ENABLE_MINIMAL case URxvt_locale: if (query) @@ -3733,7 +3740,9 @@ // 1048 save and restore cursor, implemented in code { 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */ // 1051, 1052, 1060, 1061 keyboard emulation NYI +#if ENABLE_FRILLS { 2004, PrivMode_BracketPaste }, +#endif }; if (nargs == 0)