CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
concursor.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include "console.h"
7
8CX_C_BEGIN
9
13
20
29bool conSetCursor(_In_ ConStream* con, uint16 row, uint16 col);
30
42bool conMoveCursor(_In_ ConStream* con, int16 drow, int16 dcol);
43
56bool conGetCursor(_In_ ConStream* con, _Out_ uint16* row, _Out_ uint16* col);
57
62bool conShowCursor(_In_ ConStream* con, bool show);
63
70bool conSaveCursor(_In_ ConStream* con);
71
76bool conRestoreCursor(_In_ ConStream* con);
77
82bool conEraseLine(_In_ ConStream* con, ConEraseMode mode);
83
88bool conEraseScreen(_In_ ConStream* con, ConEraseMode mode);
89
96bool conScroll(_In_ ConStream* con, int16 lines);
97
104bool conAltScreen(_In_ ConStream* con, bool enable);
105
107
108CX_C_END
bool conRestoreCursor(ConStream *con)
bool conSetCursor(ConStream *con, uint16 row, uint16 col)
bool conEraseLine(ConStream *con, ConEraseMode mode)
bool conScroll(ConStream *con, int16 lines)
bool conGetCursor(ConStream *con, uint16 *row, uint16 *col)
bool conSaveCursor(ConStream *con)
bool conAltScreen(ConStream *con, bool enable)
bool conMoveCursor(ConStream *con, int16 drow, int16 dcol)
ConEraseMode
Which portion of a line or screen to erase, relative to the current cursor position.
Definition concursor.h:15
bool conEraseScreen(ConStream *con, ConEraseMode mode)
bool conShowCursor(ConStream *con, bool show)
@ CON_EraseAll
The entire line/screen.
Definition concursor.h:18
@ CON_EraseToEnd
From the cursor to the end of the line/screen.
Definition concursor.h:16
@ CON_EraseToStart
From the start of the line/screen to the cursor.
Definition concursor.h:17