# Armaan Bhojwani 2021
import curses
-import os
-
-from .deck import Status
def disp_bar(stdscr, stack, headers, obj):
"[r]estart, [s]tarred only, [u]nstar all and restart, [q]uit")
while True:
key = stdscr.getkey()
- if key == "q" or key == os.linesep:
+ if key == "q":
exit(0)
elif key == "r":
idx.setIdx(0)
while True:
key = stdscr.getkey()
- if key == "q" or key == os.linesep:
+ if key == "q":
exit(0)
elif key in ["l", "KEY_LEFT"]:
idx.forward(stack)