From 0bd37653d52b4664a3be33d095d5f320a8eeb0a1 Mon Sep 17 00:00:00 2001 From: troido Date: Thu, 24 Jan 2019 19:15:57 +0100 Subject: changed colours to work better with 8-colour terminals and update screen before each wait (so also with each keypress) --- asciifarm/client/gameclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asciifarm/client/gameclient.py') diff --git a/asciifarm/client/gameclient.py b/asciifarm/client/gameclient.py index 1995a67..507346a 100644 --- a/asciifarm/client/gameclient.py +++ b/asciifarm/client/gameclient.py @@ -119,7 +119,6 @@ class Client: for option in options: self.log(option) - self.display.update() def log(self, text, type=None): if not isinstance(text, str): @@ -132,6 +131,7 @@ class Client: def command_loop(self): while self.keepalive: + self.display.update() action = self.queue.get() if action[0] == "message": self.update(action[1]) -- cgit