summaryrefslogtreecommitdiff
path: root/asciifarm/client/commandhandler.py
diff options
context:
space:
mode:
authortroido <troido@hotmail.com>2018-04-19 00:10:47 +0200
committertroido <troido@hotmail.com>2018-04-19 00:10:47 +0200
commite03f6096b3fdd75575ff12a2bc98205b8069b043 (patch)
treecca413207c6bbd837e8690ad23f56e713ebef895 /asciifarm/client/commandhandler.py
parent1bf981b4836dc7d48535fcfcdf0d1a4e6d8ffb84 (diff)
tab now returns to game keeping entered string; / starts string with text /
Diffstat (limited to 'asciifarm/client/commandhandler.py')
-rw-r--r--asciifarm/client/commandhandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/asciifarm/client/commandhandler.py b/asciifarm/client/commandhandler.py
index ebb773e..550484c 100644
--- a/asciifarm/client/commandhandler.py
+++ b/asciifarm/client/commandhandler.py
@@ -61,8 +61,8 @@ class CommandHandler:
for action in actions:
self.execute(action)
- def runInput(self):
- self.client.inputHandler.startTyping()
+ def runInput(self, startText=""):
+ self.client.inputHandler.startTyping(startText)
def select(self, widget, value, relative=False, modular=False):
self.client.display.getWidget(widget).select(value, relative, modular)