fix winning position display

Sat, 17 Dec 2011 18:58:35 +0100

author
paepke
date
Sat, 17 Dec 2011 18:58:35 +0100
changeset 99
434d60dc9b12
parent 98
8c1f249b2144
child 100
039ab094f79b

fix winning position display

slotUI/SlotCli.py file | annotate | diff | comparison | revisions
--- a/slotUI/SlotCli.py	Sat Dec 17 17:30:10 2011 +0100
+++ b/slotUI/SlotCli.py	Sat Dec 17 18:58:35 2011 +0100
@@ -285,6 +285,7 @@
             if (rx != "") or self.test:
                 self.scr.addstr(17,0,
                     "Last RX: %19s" % rx, curses.color_pair(2))
+                self.scr.redrawwin()
                 self.scr.refresh()
                 # we have received something
                 try:
@@ -415,6 +416,7 @@
                         for slot in self.slots:
                             if slot["position"] == 1:
                                 slot["status"] = "WINNER!"
+                	self.render_slots()
                     self.sysclk_last = self.sysclk
     
 

mercurial