placeholder="…"), curses.A_BOLD)
# Add horizontal line
- lin_width = mcols
- if len(top) < mcols:
+ lin_width = header_width
+ if len(top) < header_width:
lin_width = len(top)
stdscr.hline(1, 0, curses.ACS_HLINE, lin_width)
wrap_width = mcols
if mcols > 80:
wrap_width = 80
- stdscr.hline(curses.ACS_HLINE, lin_width)
stdscr.addstr(2, 0, textwrap.fill(stack[obj.getIdx()][obj.getSide()],
width=wrap_width))
disp_bar(stdscr, stack, headers, obj)