Implicitly support abbreviating commands
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 6 May 2019 19:00:13 +0000 (19:00 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 6 May 2019 21:37:06 +0000 (21:37 +0000)
commitde65a162dc402df0e052c9a6e79a533a00036902
treeeb5224a731e80bcb93416ff9a86a7d498c3058f7
parent56f918a8f40771b5fd7db125d301b8e50e9a7a32
Implicitly support abbreviating commands

Match entered commands against initial substrings of a sorted list
of command keywords, effectively supporting abbreviated commands.
Also test it works.
mudpy/command.py
mudpy/misc.py
mudpy/tests/selftest.py