Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/cgram cgram: don't beep if the window is resized



details:   https://anonhg.NetBSD.org/src/rev/d10e87ddf714
branches:  trunk
changeset: 959836:d10e87ddf714
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Feb 26 15:18:40 2021 +0000

description:
cgram: don't beep if the window is resized

diffstat:

 games/cgram/cgram.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r a633da186f21 -r d10e87ddf714 games/cgram/cgram.c
--- a/games/cgram/cgram.c       Fri Feb 26 15:15:34 2021 +0000
+++ b/games/cgram/cgram.c       Fri Feb 26 15:18:40 2021 +0000
@@ -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 @@
                break;
        case '~':
                return false;
+       case KEY_RESIZE:
+               break;
        default:
                handle_char_input(ch);
                break;



Home | Main Index | Thread Index | Old Index