diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-11-12 12:14:38 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-11-12 12:14:38 -0500 |
commit | efbd5d797af6ca36a61f225dc02ade47e8dfd175 (patch) | |
tree | 2aa860a534c97c2abadf24ea5dc65f3b4a5c9796 /examples/guile-2048 | |
parent | d6113f19673670320f79e880c236c6fcb760dd93 (diff) |
game: Stop the game loop upon SIGINT.
Fixes a long standing annoyance that pressing C-c wouldn't kill the
application.
* sly/game.scm (run-game-loop): Catch SIGINT and call 'stop-game-loop'.
Diffstat (limited to 'examples/guile-2048')
0 files changed, 0 insertions, 0 deletions