From c88ebd16090e130c581930dd9b3d6ddc0388edc6 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 31 Jan 2021 11:26:41 -0500 Subject: [PATCH] Update header layout --- lightcards/display.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.39.2