ftsf / nico

a Game Framework in Nim inspired by Pico-8.
MIT License
630 stars 36 forks source link

Console key listener (~) overriden in SDL2 backend #47

Open jorisbontje opened 3 years ago

jorisbontje commented 3 years ago

With examples/vertex.nim in nico v0.3.2 on OSX:

The console key listener doesn't get triggered when pressing the ~ key. This seems happen because the SDL2 backend overrides keyListeners (sdl2.nim:141) from the common backend. After commenting that line out, the console is launched as expected when pressing ~.