mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
pdc_wt overrides pdc_conemu -- allows starting WT from ConEmu. (Note that the reverse seems unnecessary -- some
of the ConEmu checks may be unneeded?)
This commit is contained in:
@@ -402,7 +402,7 @@ int PDC_scr_open(void)
|
||||
is_nt = !(GetVersion() & 0x80000000);
|
||||
|
||||
pdc_wt = !!getenv("WT_SESSION");
|
||||
str = getenv("ConEmuANSI");
|
||||
str = pdc_wt ? NULL : getenv("ConEmuANSI");
|
||||
pdc_conemu = !!str;
|
||||
pdc_ansi = pdc_wt ? TRUE : pdc_conemu ? !strcmp(str, "ON") : FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user