TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: Git commit to main/sbbs/m
from: Deuc
date: 2024-10-25 14:55:00
subject: src/conio/ansi_cio.c ciol

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.
--- SBBSecho 3.20-Linux
                                                                
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.