home · contact · privacy
Send initial GET_GAMESTATE command from client.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 10 Apr 2019 00:02:11 +0000 (02:02 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 10 Apr 2019 00:02:11 +0000 (02:02 +0200)
new/example_client.py

index aa0a3076d4eacfa890683ffcfc03729cf150b71f..54435460ab1411140fa9c1b011893e392980f6b7 100755 (executable)
@@ -608,6 +608,7 @@ class TUI:
         write_mode = False
         for w in top_widgets:
             w.ensure_freshness(True)
+        self.socket.send('GET_GAMESTATE')
         while True:
 
             # Draw screen.