hundredrabbits / Pilot

Orca's best friend.
http://wiki.xxiivv.com/Pilot
MIT License
519 stars 41 forks source link

Add history feature to command input #27

Closed ox closed 5 years ago

ox commented 5 years ago

Use the up/down arrows to scroll through previously entered commands. Useful for quickly tweaking and tuning some tedious settings.

neauoire commented 5 years ago

Love it! Thanks :) I will use that a LOT.

ox commented 5 years ago

Oh, there was one slight change I wanted to add. Setting this.historyIdx = 0 to initialize it to something. Happy to help!

neauoire commented 5 years ago

Sure! Wanna make another PR? Or, could you rename historyIdx to historyIndex