X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=lightcards%2Fdisplay.py;h=b1e6022728fd0102d2b7a173983d4ed23cdcd797;hb=f8ed3a58e0cc7faa678d83bcdce27ff2da362dd2;hp=2b4a51fa868a0e6acc388ead17f7c0bd551fe18d;hpb=eab52aa7f3cc154f25e578dc66de522259eacbd2;p=lightcards.git diff --git a/lightcards/display.py b/lightcards/display.py index 2b4a51f..b1e6022 100644 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -322,7 +322,7 @@ class Display: else: percent = str( round(self.obj.index / (len(self.stack) - 1) * 100) - ).zfill(2) + ).zfill(3) # Print yellow if starred if self.current_card().starred: @@ -477,8 +477,8 @@ class Display: ) self.win.hline(1, 0, curses.ACS_HLINE, mcols) - self.disp_bar() self.disp_sidebar() + self.disp_bar() def current_card(self): """Get current card object""" @@ -552,7 +552,7 @@ class Display: if i > mlines - 6: for i in range(19): - self.win.addch(mlines - 3, left + i, " ") + self.win.addch(mlines - 4, left + i, " ") self.win.addstr( mlines - 4,