Subscriptions termination fixes.

This commit is contained in:
Brad Arant committed 2022-02-14 07:12:19 -08:00
1 parent 6cf321ceb4
commit aa85bde66f
176 files changed
+1692 -938

No files matched your search

+13 -13
View File
@@ -24,44 +24,44 @@ namespace core {
static const int BG_MAGENTA = 45;
static const int BG_CYAN = 46;
static const int BG_WHITE = 47;
static const char esc = 0x1b;
class TerminalSession : public TCPSession {
public:
public:
TerminalSession(EPoll &ePoll, TCPServer &server);
~TerminalSession();
int getLines();
///
/// Clear the display.
///
void clear();
///
/// Clear the display from the cursor to the end of line.
///
void clearEOL();
///
/// Set the location of the cursor on the display.
///
void setCursorLocation(int x, int y);
void setColor(int color);
void setBackColor(int color);
void saveCursor();
void restoreCursor();
void NextLine(int lines);
void PreviousLine(int lines);
void PreviousLine(int lines);
void scrollArea(int start, int end);
};
}
#endif