Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
novelistparty opened this issue Nov 24, 2015 · 0 comments
Open

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

novelistparty opened this issue Nov 24, 2015 · 0 comments

Comments

@novelistparty
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant