Page MenuHomePhabricator

Arc Anoid crashes on a 30x15 terminal
Closed, ResolvedPublic

Description

When running the arc anoid game on on the lowest allowed terminal size (30 columns, 15 rows), the program crashes once there are two blocks left with the following error:

Traceback (most recent call last):
  File "/usr/local/arcanist/scripts/breakout.py", line 212, in <module>
    curses.wrapper(main)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/local/arcanist/scripts/breakout.py", line 194, in main
    status.addch(curses.ACS_LTEE)
_curses.error: addch() returned ERR

It is really devastating to be unable to play games at work with a teeny terminal.

In case it is useful, I am running iTerm on OSX Yosemite. I'd be happy to provide more information if necessary.