fix history bug

This commit is contained in:
Lion Kortlepel 2020-11-13 02:13:02 +01:00
parent 85edadb6e4
commit cdd9ef86ae

View File

@ -161,6 +161,7 @@ static void ProcessCompositeInput() {
CInputBuff = ConsoleHistory.at(ConsoleHistoryReadIndex); CInputBuff = ConsoleHistory.at(ConsoleHistoryReadIndex);
} else { } else {
CInputBuff = ""; CInputBuff = "";
ConsoleHistoryReadIndex = ConsoleHistory.size();
} }
} }
} else { } else {