koutil
Loading...
Searching...
No Matches
commands.h File Reference
#include "koutil/util/utils.h"
#include <ostream>

Go to the source code of this file.

Classes

struct  koutil::term::CursorPos
 Represents a cursor movement command. More...
 
struct  koutil::term::CursorMove
 Represents a cursor movement command. More...
 

Namespaces

namespace  koutil
 
namespace  koutil::term
 

Enumerations

enum class  koutil::term::CursorCommand {
  koutil::term::MOVE_HOME , koutil::term::SAVE , koutil::term::RESTORE , koutil::term::HIDE ,
  koutil::term::SHOW
}
 Enumerates different cursor commands. More...
 
enum class  koutil::term::BufferCommand : char { koutil::term::ENABLE_ALTERNATIVE_BUFFER = 'h' , koutil::term::DISABLE_ALTERNATIVE_BUFFER = 'l' }
 Enumerates different buffer commands. More...
 
enum class  koutil::term::EraseCommand {
  koutil::term::ERASE_CURSOR_END , koutil::term::ERASE_CURSOR_BEGIN , koutil::term::ERASE_SCREEN , koutil::term::ERASE_LINE ,
  koutil::term::ERASE_LINE_CURSOR_END , koutil::term::ERASE_LINE_CURSOR_BEGIN
}
 Enumerates different erase commands. More...
 

Functions

std::ostream & koutil::term::operator<< (std::ostream &stream, CursorPos pos)
 
std::ostream & koutil::term::operator<< (std::ostream &stream, CursorMove move)
 
std::ostream & koutil::term::operator<< (std::ostream &stream, CursorCommand cmd)
 
std::ostream & koutil::term::operator<< (std::ostream &stream, BufferCommand cmd)
 
std::ostream & koutil::term::operator<< (std::ostream &stream, EraseCommand cmd)