|
CX Framework
Cross-platform C utility framework
|
#include <console.h>
Data Fields | |
| bool | istty |
| The underlying handle is an interactive terminal. | |
| bool | vt |
| VT/ANSI escape sequences are accepted on output. | |
| bool | unicode |
| Non-ASCII UTF-8 output is safe to write directly. | |
| bool | cursor |
| Cursor addressing (conSetCursor and friends) is available. | |
| bool | altscreen |
| The alternate screen buffer is available. | |
| bool | cursorquery |
| conGetCursor() can report the real cursor position | |
| ConColorDepth | color |
| Highest color depth the stream will render. | |
| uint16 | width |
| Terminal width in columns, 0 if unknown. | |
| uint16 | height |
| Terminal height in rows, 0 if unknown. | |
Capabilities of a console stream, detected once at stream initialization from environment variables and a platform probe (never from a terminfo/termcap database).