If as in the GIF I select a command from the history (with enter), run it, and then open the history again then that command is not immediately populated. In my example I would expect the 5000 * 150 * 5 to appear first but i doesn't.
Huh! Weird. I don't have time to work on debugging this, but if you're able to figure out a little bit more about the source of the issue I might be able to help you out.
If as in the GIF I select a command from the history (with enter), run it, and then open the history again then that command is not immediately populated. In my example I would expect the
5000 * 150 * 5
to appear first but i doesn't.