More FIXME
This commit is contained in:
parent
b5527c834b
commit
7341193cf0
@ -24,6 +24,8 @@ class CommandParser(QObject):
|
|||||||
def parse(self, text):
|
def parse(self, text):
|
||||||
parts = text.strip().split(maxsplit=1)
|
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]
|
cmd = parts[0]
|
||||||
try:
|
try:
|
||||||
obj = cmd_dict[cmd]
|
obj = cmd_dict[cmd]
|
||||||
|
Loading…
Reference in New Issue
Block a user