Correct a missing header that would have made impossible to compile the code with Carbon. Remove commented out code.

This commit is contained in:
DarwinNE 2020-01-19 00:38:33 +01:00
parent 46a380b89a
commit 812831c24f
2 changed files with 2 additions and 3 deletions

View File

@ -331,7 +331,7 @@ bool Console::ProcessEscSequence(char c)
} }
else else
{ {
if(windowName.size() < MAX_LEN) if(windowName.size() < MAX_LEN) // Ignore subsequent characters
windowName+=c; windowName+=c;
} }
break; break;
@ -351,8 +351,6 @@ void Console::PutCharNoUpdate(char c)
switch(c) switch(c)
{ {
case '\033': // Begin of an ANSI escape sequence case '\033': // Begin of an ANSI escape sequence
//isProcessingEscSequence=true;
//sequenceStep=0;
sequenceState=State::waitingForSequenceStart; sequenceState=State::waitingForSequenceStart;
break; break;
case '\r': case '\r':

View File

@ -25,6 +25,7 @@
#include "Events.h" #include "Events.h"
#include <unordered_map> #include <unordered_map>
#include <cstring> #include <cstring>
#include <TextUtils.h>
using namespace retro; using namespace retro;