import sys
from . import parse, progress, config
-from .display import Display, CursesError
+from .display import Display
from .deck import Status
try:
curses.wrapper(win.run)
except curses.error as e:
- raise CursesError() from e
+ raise e
def get_orig():
sys.tracebacklimit = 0
global headers, stack
- (headers, stack) = parse.parse_html(parse.md2html(args.inp), args)
+ (headers, stack) = parse.parse_html(parse.md2html(args.inp), args, conf)
show(args, stack, headers, conf)