https://gitlab.synchro.net/main/sbbs/-/commit/79962d0d29fb2781e501cb52
Modified Files:
src/conio/ansi_cio.c ciolib.c win32cio.c
Log Message:
Set the size of the CONSOLE_SCREEN_BUFFER_INFOEX first
This allows GetConsoleScreenBufferInfoEx() to work for palette
changes, allowing Console to not suck. However, we now prefer
ANSI mode over Win32 Console, so make that so it can actually
fail on Windows of stdout is a TTY and we can't set the ENABLE_VIRTUAL_TERMINAL_PROCESSING flag.
With this, ANSI mode is used in Windows Terminal, and Win32 Console
is used in Legacy Console, and all should be good with the world.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net