3 #ifndef GCP_UTIL_XTERMMANIP_H
4 #define GCP_UTIL_XTERMMANIP_H
40 Option(
unsigned key, std::string str) {
62 std::map<ColorKey, std::string> fg_;
63 std::map<ColorKey, std::string> bg_;
65 std::map<std::string, ColorKey> colorNames_;
67 void setFg(ColorKey key);
68 void setFg(std::string key);
70 void setBg(ColorKey key);
71 void setBg(std::string key);
73 ColorKey getColorKey(std::string name);
98 std::map<TextModeKey, std::string> textModes_;
99 std::map<std::string, TextModeKey> textModeNames_;
101 void setTextMode(TextModeKey key);
102 void setTextMode(std::string name);
104 TextModeKey getTextModeKey(std::string name);
114 void getCursorPosition();
117 void restoreCursor();
118 void moveCursorUp(
unsigned nline);
119 void moveCursorDown(
unsigned nline);
124 void initializeOptions();
134 #endif // End #ifndef GCP_UTIL_XTERMMANIP_H
Definition: XtermManip.h:23
XtermManip()
Definition: XtermManip.cc:17
Definition: XtermManip.h:36
virtual ~XtermManip()
Definition: XtermManip.cc:102