Merge pull request #247 from Brentdevent/main

Fix crashing when typing in console
This commit is contained in:
Maurice Heumann 2023-02-27 11:25:07 +01:00 committed by GitHub
commit 01643a860a

View File

@ -65,6 +65,9 @@ namespace dvars
return;
}
const auto [beg, end] = std::ranges::remove(data, '\r');
data.erase(beg, end);
std::istringstream stream(data);
std::string line;