CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
concursor.h File Reference

Cursor positioning and screen erase/scroll operations. More...

#include "console.h"

Go to the source code of this file.

Typedefs

typedef enum ConEraseMode ConEraseMode
 Which portion of a line or screen to erase, relative to the current cursor position.
 

Enumerations

enum  ConEraseMode { CON_EraseToEnd , CON_EraseToStart , CON_EraseAll }
 Which portion of a line or screen to erase, relative to the current cursor position. More...
 

Functions

bool conSetCursor (ConStream *con, uint16 row, uint16 col)
 
bool conMoveCursor (ConStream *con, int16 drow, int16 dcol)
 
bool conGetCursor (ConStream *con, uint16 *row, uint16 *col)
 
bool conShowCursor (ConStream *con, bool show)
 
bool conSaveCursor (ConStream *con)
 
bool conRestoreCursor (ConStream *con)
 
bool conEraseLine (ConStream *con, ConEraseMode mode)
 
bool conEraseScreen (ConStream *con, ConEraseMode mode)
 
bool conScroll (ConStream *con, int16 lines)
 
bool conAltScreen (ConStream *con, bool enable)
 

Detailed Description

Cursor positioning and screen erase/scroll operations.

Definition in file concursor.h.