Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Retry getch() after ERR | June McEnroe | 2021-10-15 |
| | | | | | | In the version of ncurses in OpenBSD, the SIGWINCH handler installed by enabling keypad causes the read() inside getch() to fail with EINTR, which getch() doesn't handle, itself returning ERR. | ||
* | Add game over check | June McEnroe | 2018-12-31 |
| | |||
* | Handle ERR from getch | June McEnroe | 2018-12-31 |
| | | | | | | | Somehow, play processes were being orphaned without receiving SIGHUP and would consume 100% CPU in this getch loop. I still have no idea what was happening to the SSH sessions to cause orphans like that, but this at least makes them exit. | ||
* | Use bright foreground colors | June McEnroe | 2018-12-25 |
| | |||
* | Add 2048 help text | June McEnroe | 2018-12-25 |
| | |||
* | Add 2048 game | June McEnroe | 2018-12-25 |