Skip to content

rotating_cube.py example fails on Terminal.app at 80x24 #24

@novelistparty

Description

@novelistparty

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions