ryanberckmans / mud-client

http://noric.org/play
1 stars 2 forks source link

make cmd history like MM2K/bash #26

Open ryanberckmans opened 9 years ago

ryanberckmans commented 9 years ago

See how MM2k/bash handles cmd history, particularly how resending a saved cmd affects cmdHistoryUp.

ryanberckmans commented 9 years ago

Also, verify cmdHistory whitespace handling - do we really want to save a " " cmd? With mm2k, " /call" results in " /call" being sent to the MUD, it is a convenient way to bypass commands. Probably don't want to userInput.trim() which would mess up this feature