summaryrefslogtreecommitdiffstats
path: root/sail
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2010-08-06 03:10:26 +0000
committerdholland <dholland@NetBSD.org>2010-08-06 03:10:26 +0000
commitc20418e9c57794ae8f5522f5e5ea962112bde704 (patch)
tree4ff1649a8858474db64126e6e7290cb76a39dfbe /sail
parentbb38244ce5694971752319b4c9bb6de74a8fb982 (diff)
downloadbsdgames-darwin-c20418e9c57794ae8f5522f5e5ea962112bde704.tar.gz
bsdgames-darwin-c20418e9c57794ae8f5522f5e5ea962112bde704.tar.zst
bsdgames-darwin-c20418e9c57794ae8f5522f5e5ea962112bde704.zip
Don't define esc-[ as a custom key sequence because it steps on vt
function keys.
Diffstat (limited to 'sail')
-rw-r--r--sail/pl_7.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sail/pl_7.c b/sail/pl_7.c
index 7cefcaf5..9f2dcd03 100644
--- a/sail/pl_7.c
+++ b/sail/pl_7.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_7.c,v 1.38 2009/08/12 09:05:08 dholland Exp $ */
+/* $NetBSD: pl_7.c,v 1.39 2010/08/06 03:10:26 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_7.c,v 1.38 2009/08/12 09:05:08 dholland Exp $");
+__RCSID("$NetBSD: pl_7.c,v 1.39 2010/08/06 03:10:26 dholland Exp $");
#endif
#endif /* not lint */
@@ -152,7 +152,9 @@ initscreen(void)
* Define esc-x keys
*/
for (ch = 0; ch < 127; ch++) {
- define_esc_key(ch);
+ if (ch != '[') {
+ define_esc_key(ch);
+ }
}
done_curses++;