Sista v3.0.0-alpha.1
Sista is a C++ lightweight OS-agnostic library for terminal animations and videogames
|
Implementation of the Cursor class for representing and manipulating the terminal cursor. More...
Namespaces | |
namespace | sista |
Sista library namespace. | |
Functions | |
void | sista::clearScreen (bool spaces=true) |
Clears the terminal screen and optionally the scrollback buffer. | |
Implementation of the Cursor class for representing and manipulating the terminal cursor.
This file contains the implementation of the Cursor class, which provides methods to manipulate the terminal cursor, including moving to specific coordinates, erasing parts of the screen or line, and moving the cursor in various directions. The class also handles hiding and showing the cursor upon creation and destruction.