|
@@ -3835,7 +3835,13 @@ class ProxyMenu(object):
|
|
|
text = self.c + "{0:^30}".format("TradeWars Proxy Active")
|
|
|
text = text.replace("Active", BLINK + "Active" + Style.RESET_ALL + self.c)
|
|
|
self.queue_game.put(box.row(text))
|
|
|
- self.queue_game.put(box.middle())
|
|
|
+ self.queue_game.put(box.bottom())
|
|
|
+ self.queue_game.put(" " + self.c + "-=>" + self.r + " ")
|
|
|
+
|
|
|
+ def fullmenu(self):
|
|
|
+ box = Boxes(30, color=self.c)
|
|
|
+
|
|
|
+ self.queue_game.put(box.top())
|
|
|
|
|
|
def menu_item(ch: str, desc: str):
|
|
|
row = self.c1 + " {0} {1}- {2}{3:25}".format(ch, self.c2, self.c1, desc)
|
|
@@ -3856,9 +3862,8 @@ class ProxyMenu(object):
|
|
|
menu_item("T", "Trading Report")
|
|
|
menu_item("S", "Scripts")
|
|
|
menu_item("X", "eXit")
|
|
|
-
|
|
|
- self.queue_game.put(box.bottom())
|
|
|
- self.queue_game.put(" " + self.c + "-=>" + self.r + " ")
|
|
|
+ bottom = box.bottom()
|
|
|
+ self.queue_game.put(bottom[:-2])
|
|
|
|
|
|
def awake(self):
|
|
|
log.info("ProxyMenu.awake()")
|
|
@@ -4208,7 +4213,8 @@ class ProxyMenu(object):
|
|
|
# self.defer.callback()
|
|
|
self.defer = None
|
|
|
return
|
|
|
-
|
|
|
+ else:
|
|
|
+ self.fullmenu()
|
|
|
self.keepalive.start(30, True)
|
|
|
self.menu()
|
|
|
|