padtly = cury
(padbry, padbrx) = stdscr.getmaxyx()
- sys.stderr.write("Pady, padx, max bits: %dx%d, %dx%d\n" %(padtly, padtlx, padbry, padbrx))
+ if padbry > cluespad.getmaxyx()[0] + padtly:
+ padbry = cluespad.getmaxyx()[0] + padtly
cury = 0
cluespad.addstr(cury, curx, "Across")
cury += 1