]> git.armaanb.net Git - lightcards.git/commitdiff
Add side number to footer
authorArmaan Bhojwani <me@armaanb.net>
Sun, 31 Jan 2021 16:21:58 +0000 (11:21 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 31 Jan 2021 16:21:58 +0000 (11:21 -0500)
lightcards/display.py

index f31952ef206d06b46e32e21076fd34976450c7f1..511dc1de80132cc002671e23787ef877f6f69c52 100755 (executable)
@@ -27,7 +27,9 @@ def disp_bar(stdscr, stack, headers, obj):
                   ")]" +
                   " [" +
                   headers[obj.getSide()] +
-                  "]", curses.color_pair(1))
+                  " (" +
+                  str(obj.getSide() + 1) +
+                  ")]", curses.color_pair(1))
 
 
 def disp_menu(stdscr, stack, headers, idx):