summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/cgram/cgram.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/cgram/cgram.c b/games/cgram/cgram.c
index 6ee6a547c51..06000ffd5b0 100644
--- a/games/cgram/cgram.c
+++ b/games/cgram/cgram.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cgram.c,v 1.28 2022/05/14 14:20:10 rillig Exp $ */
+/* $NetBSD: cgram.c,v 1.29 2022/06/12 14:59:44 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.28 2022/05/14 14:20:10 rillig Exp $");
+__RCSID("$NetBSD: cgram.c,v 1.29 2022/06/12 14:59:44 rillig Exp $");
#endif
#include <assert.h>
@@ -490,6 +490,7 @@ handle_key(void)
switch (ch) {
case 1: /* ^A */
+ case KEY_BEG:
case KEY_HOME:
cursor_x = 0;
break;