1#ifndef KOUTIL_TERM_COMMANDS_H
2#define KOUTIL_TERM_COMMANDS_H
103 stream <<
util::ESC <<
"[?1049" <<
static_cast<char>(cmd);
std::ostream & operator<<(std::ostream &stream, ColorBG bg)
Definition color_operators.h:52
CursorCommand
Enumerates different cursor commands.
Definition commands.h:40
BufferCommand
Enumerates different buffer commands.
Definition commands.h:51
@ ENABLE_ALTERNATIVE_BUFFER
@ DISABLE_ALTERNATIVE_BUFFER
EraseCommand
Enumerates different erase commands.
Definition commands.h:59
@ ERASE_LINE_CURSOR_BEGIN
constexpr char ESC
Definition utils.h:20
Represents a cursor movement command.
Definition commands.h:19
Type type
Definition commands.h:34
unsigned short move
Definition commands.h:33
Type
Enumerates different types of cursor movements.
Definition commands.h:23
@ MOVE_DOWN_BEGIN_LINE
Definition commands.h:28
@ MOVE_LEFT
Definition commands.h:26
@ MOVE_UP
Definition commands.h:24
@ MOVE_DOWN
Definition commands.h:25
@ MOVE_COLUMN
Definition commands.h:30
@ MOVE_RIGHT
Definition commands.h:27
@ MOVE_UP_BEGIN_LINE
Definition commands.h:29
Represents a cursor movement command.
Definition commands.h:11
unsigned short column
Definition commands.h:13
unsigned short line
Definition commands.h:12