More FIXME

This commit is contained in:
Florian Bruhin 2014-01-20 08:42:08 +01:00
parent b5527c834b
commit 7341193cf0

View File

@ -24,6 +24,8 @@ class CommandParser(QObject):
def parse(self, text):
parts = text.strip().split(maxsplit=1)
# FIXME maybe we should handle unambigious shorthands for commands here?
# Or at least we should add :q for :quit.
cmd = parts[0]
try:
obj = cmd_dict[cmd]