File wincon/pdcdisp.c changed (mode: 100644) (index b89485a9..14418396) |
... |
... |
void _new_packet(attr_t attr, int lineno, int x, int len, const chtype *srcp) |
181 |
181 |
chtype ch = srcp[j]; |
chtype ch = srcp[j]; |
182 |
182 |
|
|
183 |
183 |
if (ch & A_ALTCHARSET && !(ch & 0xff80)) |
if (ch & A_ALTCHARSET && !(ch & 0xff80)) |
|
184 |
|
{ |
184 |
185 |
ch = acs_map[ch & 0x7f]; |
ch = acs_map[ch & 0x7f]; |
185 |
186 |
|
|
|
187 |
|
if (pdc_wt && (ch & A_CHARTEXT) < ' ') |
|
188 |
|
goto NONANSI; |
|
189 |
|
} |
|
190 |
|
|
186 |
191 |
if (blink && blinked_off) |
if (blink && blinked_off) |
187 |
192 |
ch = ' '; |
ch = ' '; |
188 |
193 |
|
|
|
... |
... |
void _new_packet(attr_t attr, int lineno, int x, int len, const chtype *srcp) |
198 |
203 |
#endif |
#endif |
199 |
204 |
} |
} |
200 |
205 |
else |
else |
|
206 |
|
NONANSI: |
201 |
207 |
{ |
{ |
202 |
208 |
CHAR_INFO buffer[512]; |
CHAR_INFO buffer[512]; |
203 |
209 |
COORD bufSize, bufPos; |
COORD bufSize, bufPos; |
File wincon/pdcscrn.c changed (mode: 100644) (index f1f5fdd3..dc729748) |
... |
... |
int PDC_scr_open(int argc, char **argv) |
416 |
416 |
pdc_wt = !!getenv("WT_SESSION"); |
pdc_wt = !!getenv("WT_SESSION"); |
417 |
417 |
str = pdc_wt ? NULL : getenv("ConEmuANSI"); |
str = pdc_wt ? NULL : getenv("ConEmuANSI"); |
418 |
418 |
pdc_conemu = !!str; |
pdc_conemu = !!str; |
419 |
|
pdc_ansi = |
|
420 |
|
#ifdef PDC_WIDE |
|
421 |
|
pdc_wt ? TRUE : |
|
422 |
|
#endif |
|
423 |
|
pdc_conemu ? !strcmp(str, "ON") : FALSE; |
|
|
419 |
|
pdc_ansi = pdc_wt ? TRUE : pdc_conemu ? !strcmp(str, "ON") : FALSE; |
424 |
420 |
|
|
425 |
421 |
GetConsoleScreenBufferInfo(pdc_con_out, &csbi); |
GetConsoleScreenBufferInfo(pdc_con_out, &csbi); |
426 |
422 |
GetConsoleScreenBufferInfo(pdc_con_out, &orig_scr); |
GetConsoleScreenBufferInfo(pdc_con_out, &orig_scr); |