]> git.cameronkatri.com Git - bsdgames-darwin.git/commit
cgram: fix undefined behavior when pressing function keys
authorrillig <rillig@NetBSD.org>
Sun, 21 Feb 2021 16:37:26 +0000 (16:37 +0000)
committerCameron Katri <me@cameronkatri.com>
Tue, 13 Apr 2021 19:28:32 +0000 (15:28 -0400)
commitb4408559c1e6e0df3ce61a198f9a4d1f444ecb87
treeb6796b53f7b11dd3c5ec2c31750fab509cb04cf9
parented695539f2c9b4aefd9f42852aa112ade4da7102
cgram: fix undefined behavior when pressing function keys

The key codes for function keys are outside of the "range representable
by an unsigned char".  This resulted in parts of the screen being
cleaned.
cgram/cgram.c