Sista v3.0.0-alpha.1
Sista is a C++ lightweight OS-agnostic library for terminal animations and videogames
Loading...
Searching...
No Matches
Namespaces | Functions
cursor.cpp File Reference

Implementation of the Cursor class for representing and manipulating the terminal cursor. More...

#include "cursor.hpp"
#include <iostream>
Include dependency graph for cursor.cpp:

Namespaces

namespace  sista
 Sista library namespace.
 

Functions

void sista::clearScreen (bool spaces=true)
 Clears the terminal screen and optionally the scrollback buffer.
 

Detailed Description

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.

Author
FLAK-ZOSO
Date
2022-2025
Version
3.0.0
See also
Border