Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash when there aren't any
recentCommands
yet (#11082)
The first time you open commandline mode, `recentCommands` doesn't exist yet. However, we immediately try to read the `Size()` in a couple places. This'll A/V and we'll crash 😨 The fix is easy - don't try and read the size of the non-existent `recentCommands` Found this while playing with #11069 Regressed in #11030 Didn't bother filing an issue for it when I have the fix in hand
- Loading branch information