diff options
| author | troido <troido@protonmail.com> | 2019-01-24 19:15:57 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2019-01-24 19:15:57 +0100 |
| commit | 0bd37653d52b4664a3be33d095d5f320a8eeb0a1 (patch) | |
| tree | 182787829ab8b85af53bee6d142f571c5e3acd1f /asciifarm/client/gameclient.py | |
| parent | 21e003dc1876a5826c5b9a21781fe35ad52f2778 (diff) | |
changed colours to work better with 8-colour terminals and update screen before each wait (so also with each keypress)
Diffstat (limited to 'asciifarm/client/gameclient.py')
| -rw-r--r-- | asciifarm/client/gameclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |
