adamyg / grief

GRIEF - BRIEF clone
http://grief.sourceforge.net/
Other
33 stars 9 forks source link

Usage within ConEmu is unnecessarily restricted #39

Closed adamyg closed 1 month ago

adamyg commented 2 months ago

Reference: https://sourceforge.net/p/grief/tickets/17/

maxcolors=16 limit is applicable when running in 256-color emulation mode; checks reordered.

       if (GetModuleHandleA("ConEmuHk.dll") ||
                GetModuleHandleA("ConEmuHk64.dll")) {
            printf("Running under ConEmu, disabling 256 support\n");
            vio.maxcolors = 16;
        }