Namespace containing cursor movement escape sequences. More...
Variables | |
| constexpr std::string_view | home = "\033[H" |
| Move cursor to home position (top-left corner). | |
| constexpr std::string_view | up = "\033[A" |
| Move cursor up one line. | |
| constexpr std::string_view | down = "\033[B" |
| Move cursor down one line. | |
| constexpr std::string_view | right = "\033[C" |
| Move cursor right one column. | |
| constexpr std::string_view | left = "\033[D" |
| Move cursor left one column. | |
| constexpr std::string_view | save = "\033[s" |
| Save current cursor position. | |
| constexpr std::string_view | restore = "\033[u" |
| Restore previously saved cursor position. | |
Namespace containing cursor movement escape sequences.
Provides ANSI escape codes for controlling cursor position and movement within the terminal. Note that not all terminals support all cursor operations.
|
constexpr |
Move cursor down one line.
Definition at line 158 of file constants.hpp.
|
constexpr |
Move cursor to home position (top-left corner).
Definition at line 154 of file constants.hpp.
|
constexpr |
Move cursor left one column.
Definition at line 162 of file constants.hpp.
|
constexpr |
Restore previously saved cursor position.
Definition at line 166 of file constants.hpp.
|
constexpr |
Move cursor right one column.
Definition at line 160 of file constants.hpp.
|
constexpr |
Save current cursor position.
Definition at line 164 of file constants.hpp.
|
constexpr |
Move cursor up one line.
Definition at line 156 of file constants.hpp.