rotating_cube.py example fails on Terminal.app at 80x24
novelistparty opened this issue · comments
novelistparty commented
I'm running OS X, El Capitan, Terminal.app.
Traceback (most recent call last):
File "term_display.py", line 108, in <module>
curses.wrapper(__main__, projection)
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 "rotating_cube.py", line 94, in __main__
stdscr.addstr(0, 0, '{0}\n'.format(f))
_curses.error: addstr() returned ERR
I changed line 93 to:
f = c.frame(-40, -40, 40, 40)
And it worked.