keyListeners is also declared in backends/common.nim, overriding this in sdl2.nim breaks the console ( ~ ) key listener.
This can be tested by running vertex.nim from examples and pressing the tilde ( ~ ) key to launch the debug the console (nothing will happen before this fix).
keyListeners
is also declared inbackends/common.nim
, overriding this insdl2.nim
breaks the console ( ~ ) key listener. This can be tested by runningvertex.nim
from examples and pressing the tilde ( ~ ) key to launch the debug the console (nothing will happen before this fix).