Merge pull request #247 from Brentdevent/main
Fix crashing when typing in console
This commit is contained in:
commit
01643a860a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user