]> git.draconx.ca Git - rrace.git/commit
Add basic keyboard control to curses UI.
authorNick Bowler <nbowler@draconx.ca>
Wed, 8 Jun 2022 03:44:01 +0000 (23:44 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 8 Jun 2022 03:44:01 +0000 (23:44 -0400)
commitde588fc223e0ecb155d25a98934a43630b97eea7
tree0ca30b8325994ab607cb28a57943566aa2d375f9
parent89952d7fa03d1bffb2a4e32dcb7a0693a085eda3
Add basic keyboard control to curses UI.

Since the mouse support in curses is not always available, we need to
provide a keyboard-based alternative.  The arrow keys move a cursor
around the positions in the game area, and space moves the selected
tile.
src/curses.c