diff options
author | rillig <rillig@NetBSD.org> | 2021-02-26 15:18:40 +0000 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-04-13 15:28:34 -0400 |
commit | 0a1543ea454e4300aeb1b71cc8e7dd99c04d5dbc (patch) | |
tree | 9893132ceea192e3811bdd6667e0683deec3ba4c | |
parent | 52ae241ee1f8584a23f94b47c59eb897b8c761a2 (diff) | |
download | bsdgames-darwin-0a1543ea454e4300aeb1b71cc8e7dd99c04d5dbc.tar.gz bsdgames-darwin-0a1543ea454e4300aeb1b71cc8e7dd99c04d5dbc.tar.zst bsdgames-darwin-0a1543ea454e4300aeb1b71cc8e7dd99c04d5dbc.zip |
cgram: don't beep if the window is resized
-rw-r--r-- | cgram/cgram.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cgram/cgram.c b/cgram/cgram.c index 87964014..3c4ca952 100644 --- a/cgram/cgram.c +++ b/cgram/cgram.c @@ -1,4 +1,4 @@ -/* $NetBSD: cgram.c,v 1.16 2021/02/26 15:15:34 rillig Exp $ */ +/* $NetBSD: cgram.c,v 1.17 2021/02/26 15:18:40 rillig Exp $ */ /*- * Copyright (c) 2013, 2021 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: cgram.c,v 1.16 2021/02/26 15:15:34 rillig Exp $"); +__RCSID("$NetBSD: cgram.c,v 1.17 2021/02/26 15:18:40 rillig Exp $"); #endif #include <assert.h> @@ -525,6 +525,8 @@ handle_key(void) break; case '~': return false; + case KEY_RESIZE: + break; default: handle_char_input(ch); break; |