Skip to content

Resizing window breaks demo3 on OS X #2

Description

@nathell

The following error is thrown:

Traceback (most recent call last):
  File "demo3.py", line 69, in <module>
    main()
  File "demo3.py", line 65, in main
    display.run(DemoApp())
  File "/Users/nathell/textland/textland/display.py", line 135, in run
    return super().run(app)
  File "/Users/nathell/textland/textland/display.py", line 55, in run
    event = self.wait_for_event()
  File "/Users/nathell/textland/textland/display.py", line 177, in wait_for_event
    return Event(EVENT_KEYBOARD, KeyboardData(chr(key_code)))
ValueError: chr() arg not in range(0x110000)

This is on OS X 10.6.8 with Python 3.3.2 freshly installed from Homebrew.

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