Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(conhost): use circular_buffer instead of ImVector
- `Items` and `ItemKeys` use a circular buffer and can only store `2500` items, but ItemTimes could expand and store more. - This would cause a crash at https://github.com/citizenfx/fivem/blob/705cd7901ac03c5a0d1e1355d94e84046309b80d/code/components/conhost-v2/src/ConsoleHostGui.cpp#L729-L734 because `ItemTimes` would have a capacity of 2500+ but `Items` and ItemKeys` would be empty
- Loading branch information