LIPH's C++ Codes
terminal.h File Reference
#include <cstdint>
#include <string>
#include "liph/format.h"

Go to the source code of this file.

Classes

struct  liph::rgb
 

Namespaces

namespace  liph
 

Enumerations

enum class  liph::color256 : uint8_t {
  liph::Black = 0 , liph::Maroon = 1 , liph::Green = 2 , liph::Olive = 3 ,
  liph::Navy = 4 , liph::Purple = 5 , liph::Teal = 6 , liph::Silver = 7 ,
  liph::Grey = 8 , liph::Red = 9 , liph::Lime = 10 , liph::Yellow = 11 ,
  liph::Blue = 12 , liph::Fuchsia = 13 , liph::Aqua = 14 , liph::White = 15 ,
  liph::NavyBlue = 17 , liph::DarkBlue = 18 , liph::DarkGreen = 22 , liph::DarkCyan = 36 ,
  liph::LightSeaGreen = 37 , liph::DarkTurquoise = 44 , liph::MediumSpringGreen = 49 , liph::DarkRed = 52 ,
  liph::BlueViolet = 57 , liph::SteelBlue = 67 , liph::CornflowerBlue = 69 , liph::CadetBlue = 72 ,
  liph::MediumTurquoise = 80 , liph::DarkMagenta = 90 , liph::DarkViolet = 92 , liph::LightSlateGrey = 103 ,
  liph::MediumPurple = 104 , liph::LightSlateBlue = 105 , liph::DarkSeaGreen = 108 , liph::LightGreen = 119 ,
  liph::MediumVioletRed = 126 , liph::IndianRed = 131 , liph::MediumOrchid = 134 , liph::DarkGoldenrod = 136 ,
  liph::RosyBrown = 138 , liph::DarkKhaki = 143 , liph::LightSteelBlue = 147 , liph::GreenYellow = 154 ,
  liph::Orchid = 170 , liph::Violet = 177 , liph::Tan = 180 , liph::HotPink = 205 ,
  liph::DarkOrange = 208 , liph::LightCoral = 210 , liph::SandyBrown = 215
}
 

Functions

bool liph::stdin_echo_on ()
 
bool liph::stdin_echo_off ()
 
bool liph::stdin_buffering_on ()
 
bool liph::stdin_buffering_off ()
 
void liph::clear_screen ()
 
void liph::clear_scrollback_buffer ()
 
void liph::reset_screen ()
 
std::string liph::color256fg (uint8_t)
 
std::string liph::color256bg (uint8_t)
 
std::string liph::color256fg (color256 c)
 
std::string liph::color256bg (color256 c)
 
std::string liph::color_reset ()
 
std::string liph::text_bold ()
 
std::string liph::text_faint ()
 
std::string liph::text_italic ()
 
std::string liph::text_underline ()
 
std::string liph::text_blink ()
 
std::string liph::text_rapid_blink ()
 
std::string liph::text_reverse ()
 
std::string liph::text_conceal ()
 
std::string liph::text_strikethrough ()