Android-cuttlefish cvd tool
Namespaces | Functions | Variables
ansi_codes.h File Reference
#include <string>
#include <string_view>
Include dependency graph for ansi_codes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

bool cuttlefish::IsCsiFinalByte (char c)
 
std::string cuttlefish::AnsiCursorUp (int n)
 

Variables

constexpr std::string_view cuttlefish::kAnsiCursorTopLeft = "\033[;H"
 
constexpr std::string_view cuttlefish::kAnsiBoldBlue = "\033[1;34m"
 
constexpr std::string_view cuttlefish::kAnsiBoldCyan = "\033[1;36m"
 
constexpr std::string_view cuttlefish::kAnsiClearScreen = "\033[2J"
 
constexpr std::string_view cuttlefish::kAnsiClearScreenAfterCursor = "\033[J"
 
constexpr std::string_view cuttlefish::kAnsiCsi = "\033["
 
constexpr std::string_view cuttlefish::kAnsiCyan = "\033[0;36m"
 
constexpr std::string_view cuttlefish::kAnsiGreen = "\033[0;32m"
 
constexpr std::string_view cuttlefish::kAnsiGrey = "\033[90m"
 
constexpr std::string_view cuttlefish::kAnsiRed = "\033[0;31m"
 
constexpr std::string_view cuttlefish::kAnsiReset = "\033[0m"
 
constexpr std::string_view cuttlefish::kAnsiWhite = "\033[0;37m"
 
constexpr std::string_view cuttlefish::kAnsiYellow = "\033[0;33m"
 
constexpr std::string_view cuttlefish::kXtermUseAlternateScreen = "\033[?1049h"
 
constexpr std::string_view cuttlefish::kXtermUseMainScreen = "\033[?1049l"