We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934d2dd commit 807fdcaCopy full SHA for 807fdca
docs/tcod/getting-started.rst
@@ -45,6 +45,8 @@ Example::
45
console.print(x=0, y=0, string="Hello World!")
46
context.present(console) # Show the console.
47
48
+ # This event loop will wait until at least one event is processed before exiting.
49
+ # For a non-blocking event loop replace `tcod.event.wait` with `tcod.event.get`.
50
for event in tcod.event.wait():
51
context.convert_event(event) # Sets tile coordinates for mouse events.
52
print(event) # Print event names and attributes.
0 commit comments