… | |
… | |
155 | } |
155 | } |
156 | |
156 | |
157 | x--; |
157 | x--; |
158 | } |
158 | } |
159 | } |
159 | } |
160 | #endif |
|
|
161 | |
160 | |
162 | void |
161 | void |
163 | rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y) |
162 | rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y) |
164 | { |
163 | { |
165 | #if ENABLE_OVERLAY |
|
|
166 | rxvt_fontset *fs = FONTSET (r); |
164 | rxvt_fontset *fs = FONTSET (r); |
167 | rxvt_font *f = (*fs)[fs->find_font (ch)]; |
165 | rxvt_font *f = (*fs)[fs->find_font (ch)]; |
168 | wchar_t *chr, *alloc, ch2, *fname; |
166 | wchar_t *chr, *alloc, ch2, *fname; |
169 | int len; |
167 | int len; |
170 | |
168 | |
… | |
… | |
238 | |
236 | |
239 | # if ENABLE_COMBINING |
237 | # if ENABLE_COMBINING |
240 | if (alloc) |
238 | if (alloc) |
241 | delete [] alloc; |
239 | delete [] alloc; |
242 | # endif |
240 | # endif |
243 | #endif |
|
|
244 | } |
241 | } |
|
|
242 | #endif |
245 | |
243 | |
246 | void |
244 | void |
247 | rxvt_term::commit_iso14755 () |
245 | rxvt_term::commit_iso14755 () |
248 | { |
246 | { |
249 | wchar_t ch[2]; |
247 | wchar_t ch[2]; |
… | |
… | |
4048 | } |
4046 | } |
4049 | |
4047 | |
4050 | /* extra handling for values with state unkept */ |
4048 | /* extra handling for values with state unkept */ |
4051 | switch (arg[i]) |
4049 | switch (arg[i]) |
4052 | { |
4050 | { |
|
|
4051 | #if ENABLE_STYLES |
|
|
4052 | case 1021: |
|
|
4053 | if (mode) |
|
|
4054 | SET_OPTION (Opt_intensityStyles); |
|
|
4055 | else |
|
|
4056 | CLR_OPTION (Opt_intensityStyles); |
|
|
4057 | #endif |
4053 | case 1048: /* alternative cursor save */ |
4058 | case 1048: /* alternative cursor save */ |
4054 | case 1049: |
4059 | case 1049: |
4055 | if (OPTION (Opt_secondaryScreen)) |
4060 | if (OPTION (Opt_secondaryScreen)) |
4056 | if (mode == 0) |
4061 | if (mode == 0) |
4057 | scr_cursor (RESTORE); |
4062 | scr_cursor (RESTORE); |
… | |
… | |
4140 | if (state) |
4145 | if (state) |
4141 | SET_OPTION (Opt_scrollTtyKeypress); |
4146 | SET_OPTION (Opt_scrollTtyKeypress); |
4142 | else |
4147 | else |
4143 | CLR_OPTION (Opt_scrollTtyKeypress); |
4148 | CLR_OPTION (Opt_scrollTtyKeypress); |
4144 | break; |
4149 | break; |
4145 | #if ENABLE_STYLES |
|
|
4146 | case 1021: |
|
|
4147 | if (state) |
|
|
4148 | SET_OPTION (Opt_intensityStyles); |
|
|
4149 | else |
|
|
4150 | CLR_OPTION (Opt_intensityStyles); |
|
|
4151 | #endif |
|
|
4152 | case 1047: /* secondary screen w/ clearing last */ |
4150 | case 1047: /* secondary screen w/ clearing last */ |
4153 | if (OPTION (Opt_secondaryScreen)) |
4151 | if (OPTION (Opt_secondaryScreen)) |
4154 | if (current_screen != PRIMARY) |
4152 | if (current_screen != PRIMARY) |
4155 | scr_erase_screen (2); |
4153 | scr_erase_screen (2); |
4156 | scr_change_screen (state); |
4154 | scr_change_screen (state); |