]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
cgram: don't beep if the window is resized
authorrillig <rillig@NetBSD.org>
Fri, 26 Feb 2021 15:18:40 +0000 (15:18 +0000)
committerCameron Katri <me@cameronkatri.com>
Tue, 13 Apr 2021 19:28:34 +0000 (15:28 -0400)
cgram/cgram.c

index 879640148644a211c4274030e424f93a5842a991..3c4ca952d065db8cf0fa045b186a5ea6107e184e 100644 (file)
@@ -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;