X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=blobdiff_plain;f=lightcards%2Flightcards.py;h=775b13d24afaea722dc63296ef995e366a16c794;hp=23f94df29f34f04eb2251c7b47c31f7dcec5cd25;hb=611a8e823ba8a4471d1b0cabb1dcd82506f36551;hpb=455b1e06dd8b738a63eedaef100b1a6de95b542e diff --git a/lightcards/lightcards.py b/lightcards/lightcards.py index 23f94df..775b13d 100755 --- a/lightcards/lightcards.py +++ b/lightcards/lightcards.py @@ -6,6 +6,7 @@ import argparse from curses import wrapper from . import display, parse +from .deck import Status def parse_args(): @@ -21,7 +22,8 @@ def parse_args(): def show(stack, headers): - wrapper(display.get_key, stack, headers) + idx = Status() + wrapper(display.get_key, stack, headers, idx) def main():