Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/cgram cgram: fix Home key for cursor navigation
details: https://anonhg.NetBSD.org/src/rev/f1b10b140139
branches: trunk
changeset: 980890:f1b10b140139
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Feb 21 13:35:37 2021 +0000
description:
cgram: fix Home key for cursor navigation
Reported by liweitianux via GitHub.
diffstat:
games/cgram/cgram.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ea0ad7437032 -r f1b10b140139 games/cgram/cgram.c
--- a/games/cgram/cgram.c Sun Feb 21 13:27:22 2021 +0000
+++ b/games/cgram/cgram.c Sun Feb 21 13:35:37 2021 +0000
@@ -241,7 +241,7 @@
int ch = getch();
switch (ch) {
case 1: /* ^A */
- case KEY_BEG:
+ case KEY_HOME:
curx=0;
break;
case 2: /* ^B */
Home |
Main Index |
Thread Index |
Old Index