summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rcon.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rcon.py b/rcon.py
index 8e18188..b8f7bc0 100644
--- a/rcon.py
+++ b/rcon.py
@@ -161,7 +161,8 @@ class Console:
self.viewer.proc_open(argv)
def execute(self, command):
- self.viewer.write(PIPE_PATH % self.server)
+ self.viewer.write("%s $ %s" % (self.server, command),
+ color_override="system")
with open(PIPE_PATH % self.server, "w") as fp:
fp.write(command + "\n")