Many changes

This commit is contained in:
Brad Arant committed 2021-08-05 13:07:53 -07:00
1 parent 50bbfcc3c3
commit 46f98dff69
11 files changed
+110 -100

No files matched your search

+2 -4
View File
@@ -52,7 +52,7 @@ namespace core {
clearEOL();
out << "ConsoleSession";
setCursorLocation(2, 1);
setBackColor(BG_BLACK);
setBackColor(BG_BLACK);
scrollArea(2, 16);
status = PROMPT;
protocol((char*)"");
@@ -91,16 +91,14 @@ namespace core {
saveCursor();
setCursorLocation(16, 1);
restoreCursor();
send();
}
void ConsoleSession::doCommand(coreutils::ZString request) {
saveCursor();
setCursorLocation(16, 1);
out << "--> " << request << std::endl;
server.commands.processRequest(request, this, out);
server.commands.processRequest(request, *this);
restoreCursor();
send();
}
}