CPPConsole
Loading...
Searching...
No Matches
erase.hpp File Reference
#include <iostream>
#include <stdio.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <unistd.h>
#include "ansi.hpp"
#include "console.hpp"
Include dependency graph for erase.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  console
 Namespace Containing all console commands.
 

Functions

void eraseFromCursorToEOS ()
 Erases the screen from the cursor to the end of screen.
 
void eraseFromCursorToBOS ()
 Erases the screen from the cursor to the beginning of screen.
 
void eraseEntireScreen ()
 Erases the entire screen.
 
void eraseFromCursorToEOL ()
 Erases from the cursor position to the end of the line.
 
void eraseFromCursorToBOL ()
 Erases from the cursor position to the beginning of the line.
 
void eraseCurrentLine ()
 Erases the line the cursor is currently on.