X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=blobdiff_plain;f=lightcards%2Flightcards.py;h=b4b459860ae535e95bc7a8fe72165d66b79d11a1;hp=d170b354a048f43fc9bd0fd24afe169172d27d6d;hb=eec0373eb1745933e0ad618af7e79556427a4f6f;hpb=e99950c3023a64f68cdc968e2759f45653d6b9af diff --git a/lightcards/lightcards.py b/lightcards/lightcards.py index d170b35..b4b4598 100644 --- a/lightcards/lightcards.py +++ b/lightcards/lightcards.py @@ -55,6 +55,14 @@ def show(args, stack, headers): else: idx = Status() + stackb = progress.dive("stack", stack) + if stackb and not args.purge: + stack = stackb + + headerb = progress.dive("headers", stack) + if headerb and not args.purge: + headers = headerb + if args.flip: for x in stack: x[0], x[1] = x[1], x[0]