From: Armaan Bhojwani Date: Sun, 31 Jan 2021 16:26:41 +0000 (-0500) Subject: Update header layout X-Git-Tag: v0.3.0~11 X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=commitdiff_plain;h=c88ebd16090e130c581930dd9b3d6ddc0388edc6 Update header layout --- diff --git a/lightcards/display.py b/lightcards/display.py index 511dc1d..6b5fce1 100755 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -83,11 +83,10 @@ def disp_card(stdscr, stack, headers, obj): disp_menu(stdscr, stack, headers, obj) else: if obj.getSide() == 0: - top = headers[obj.getSide()] + "; " + str(obj.getIdx() + 1) + top = str(obj.getIdx() + 1) + " | " + headers[obj.getSide()] else: - top = headers[obj.getSide()] + "; " + str(obj.getIdx() + 1) + \ - "; " + str(stack[obj.getIdx()][0]) - + top = str(obj.getIdx() + 1) + " | " + headers[obj.getSide()] \ + + " | \"" + str(stack[obj.getIdx()][0]) + "\"" header_width = mcols if mcols > 80: header_width = 80