File wincon/pdcscrn.c changed (mode: 100644) (index dc729748..f1f5fdd3) |
... |
... |
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 = pdc_wt ? TRUE : pdc_conemu ? !strcmp(str, "ON") : FALSE; |
|
|
419 |
|
pdc_ansi = |
|
420 |
|
#ifdef PDC_WIDE |
|
421 |
|
pdc_wt ? TRUE : |
|
422 |
|
#endif |
|
423 |
|
pdc_conemu ? !strcmp(str, "ON") : FALSE; |
420 |
424 |
|
|
421 |
425 |
GetConsoleScreenBufferInfo(pdc_con_out, &csbi); |
GetConsoleScreenBufferInfo(pdc_con_out, &csbi); |
422 |
426 |
GetConsoleScreenBufferInfo(pdc_con_out, &orig_scr); |
GetConsoleScreenBufferInfo(pdc_con_out, &orig_scr); |