Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
console.lua: trim commands before saving them in history
This avoids storing similar commands in history that only differ by leading or trailing whitespace, like "sub-reload" and "sub-reload ". It is easy to get these otherwise because Tab completion leaves a trailing space after commands.
- Loading branch information