Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Instead of turning off the 8th bit on resume, ...
details: https://anonhg.NetBSD.org/src/rev/5fd046a6602d
branches: trunk
changeset: 790499:5fd046a6602d
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 15 13:00:52 2013 +0000
description:
Instead of turning off the 8th bit on resume, turn it on, as it is on by
default. Problem reported by atatat@ when suspending vi and resuming loses
the ability to use the alt key.
diffstat:
lib/libcurses/tstp.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 209cb372e20f -r 5fd046a6602d lib/libcurses/tstp.c
--- a/lib/libcurses/tstp.c Tue Oct 15 11:53:16 2013 +0000
+++ b/lib/libcurses/tstp.c Tue Oct 15 13:00:52 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tstp.c,v 1.39 2011/08/29 11:07:38 christos Exp $ */
+/* $NetBSD: tstp.c,v 1.40 2013/10/15 13:00:52 christos Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)tstp.c 8.3 (Berkeley) 5/4/94";
#else
-__RCSID("$NetBSD: tstp.c,v 1.39 2011/08/29 11:07:38 christos Exp $");
+__RCSID("$NetBSD: tstp.c,v 1.40 2013/10/15 13:00:52 christos Exp $");
#endif
#endif /* not lint */
@@ -234,8 +234,8 @@
(int) curscr->maxy - 1, 0, 0);
}
- if (meta_off != NULL)
- (void) tputs(meta_off, 0, __cputchar);
+ if (meta_on != NULL)
+ (void) tputs(meta_on, 0, __cputchar);
if ((curscr != NULL) && (curscr->flags & __KEYPAD))
(void) tputs(keypad_local, 0, __cputchar);
Home |
Main Index |
Thread Index |
Old Index