Continued restructing.

This commit is contained in:
barant committed 2019-09-13 09:16:55 -07:00
1 parent 5e5e626d28
commit a46db126e9
294 files changed
+2455 -2189

No files matched your search

+4 -7
View File
@@ -3,14 +3,12 @@
namespace core {
ConsoleSession::ConsoleSession(EPoll &ePoll, Service &service) : TerminalSession(ePoll, service) {}
ConsoleSession::~ConsoleSession() {}
void ConsoleSession::output(std::stringstream &out) {
// socket->output(out);
ConsoleSession::ConsoleSession(EPoll &ePoll, Service &service) : TerminalSession(ePoll, service) {
coreutils::Log(coreutils::LOG_DEBUG_2) << "Constructing ConsoleSession...";
}
ConsoleSession::~ConsoleSession() {}
void ConsoleSession::protocol(std::string data = "") {
switch (status) {
@@ -62,7 +60,6 @@ namespace core {
break;
case PROMPT:
Log(LOG_DEBUG_1) << "Lines is " << getLines() << ".";
setCursorLocation(17, 1);
clearEOL();
out << ("--> ");