Module Name: src
Committed By: blymn
Date: Fri Nov 5 11:38:55 UTC 2010
Modified Files:
src/lib/libcurses: getch.c
Log Message:
Don't echo key symbols.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/lib/libcurses/getch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libcurses/getch.c
diff -u src/lib/libcurses/getch.c:1.55 src/lib/libcurses/getch.c:1.56
--- src/lib/libcurses/getch.c:1.55 Wed Feb 3 15:34:40 2010
+++ src/lib/libcurses/getch.c Fri Nov 5 11:38:54 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: getch.c,v 1.55 2010/02/03 15:34:40 roy Exp $ */
+/* $NetBSD: getch.c,v 1.56 2010/11/05 11:38:54 blymn Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)getch.c 8.2 (Berkeley) 5/4/94";
#else
-__RCSID("$NetBSD: getch.c,v 1.55 2010/02/03 15:34:40 roy Exp $");
+__RCSID("$NetBSD: getch.c,v 1.56 2010/11/05 11:38:54 blymn Exp $");
#endif
#endif /* not lint */
@@ -906,7 +906,7 @@
__restore_termios();
- if (__echoit)
+ if ((__echoit) && (inp < KEY_MIN))
waddch(win, (chtype) inp);
if (weset)