fix history bug

This commit is contained in:
Lion Kortlepel committed 2020-11-13 02:13:02 +01:00
1 parent 85edadb6e4
commit cdd9ef86ae
1 file changed
+1
+1
View File
@@ -161,6 +161,7 @@ static void ProcessCompositeInput() {
CInputBuff = ConsoleHistory.at(ConsoleHistoryReadIndex);
} else {
CInputBuff = "";
ConsoleHistoryReadIndex = ConsoleHistory.size();
}
}
} else {