From 362e03a3f8df27ec8373c6090dabcccbc25408bb Mon Sep 17 00:00:00 2001 From: Vincent Le Goff Date: Thu, 9 Feb 2017 18:46:36 -0800 Subject: [PATCH] Fix a bug in :+ and := commands in EvEditor --- evennia/utils/eveditor.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/evennia/utils/eveditor.py b/evennia/utils/eveditor.py index 041d37618e..5f04e9a3c0 100644 --- a/evennia/utils/eveditor.py +++ b/evennia/utils/eveditor.py @@ -375,7 +375,8 @@ class CmdLineInput(CmdEditorBase): buf = editor.get_buffer() # add a line of text to buffer - line = self.args + line = self.raw_string + print "Entered", repr(line) if not editor._code: if not buf: buf = self.args @@ -413,7 +414,7 @@ class CmdEditorGroup(CmdEditorBase): aliases = [":","::", ":::", ":h", ":w", ":wq", ":q", ":q!", ":u", ":uu", ":UU", ":dd", ":dw", ":DD", ":y", ":x", ":p", ":i", ":j", ":r", ":I", ":A", ":s", ":S", ":f", ":fi", ":fd", ":echo", - ":-", "-+", "-="] + ":-", ":+", ":="] arg_regex = r"\s.*?|$" def func(self):