grdc(6): Allow 'q' to quit immediately
authorAaron LI <aly@aaronly.me>
Sun, 21 Feb 2021 07:04:55 +0000 (15:04 +0800)
committerAaron LI <aly@aaronly.me>
Sun, 21 Feb 2021 07:52:13 +0000 (15:52 +0800)
commit8f2695f272807c488393d73a919c4affb3b4cf49
tree98e4a8184a920887a3fb8bd3c4a48057121cd2e6
parent9f62ef8c5664703913ebcf1f918e3559ab7806ba
grdc(6): Allow 'q' to quit immediately

Add support to allow pressing 'q' to quit immediately.

Partially based on OpenBSD's implementation:
https://github.com/openbsd/src/commit/8ca82b000914eb1e6f45d22092c9358df4233247
games/grdc/grdc.6
games/grdc/grdc.c