Improving the Command Line - Better Visual Feedback


Posted on 21 October 2017 in T31LoSB





The command line auto complete has an issue. For reference on the right is what a user typed, and on the left is what the game thinks the user means.

Old Command Line

Unless one is paying close attention, one might not notice the game interpreting small typos wrong (or against what one would expect anyway). This week I tried to improve the visual feedback and make it clearer what command the user is actually about to run, adding new color distinction to the auto complete.

New Command Line

What the user actually typed is highlighted in bright blue, and what the auto complete infers is tacked on in dark teal. If no command can exactly match what the user typed, the auto complete will show its best guess in yellow. Likewise, perfect matches are shown in green.