Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Reset cursor visibility after restarting the s...
details: https://anonhg.NetBSD.org/src/rev/a5e81ce50b31
branches: trunk
changeset: 534847:a5e81ce50b31
user: jdc <jdc%NetBSD.org@localhost>
date: Sun Aug 04 14:11:59 2002 +0000
description:
Reset cursor visibility after restarting the screen, as the cursor visibility
setting can be changed when the screen is restarted.
diffstat:
lib/libcurses/tstp.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 7392904c7356 -r a5e81ce50b31 lib/libcurses/tstp.c
--- a/lib/libcurses/tstp.c Sun Aug 04 13:08:29 2002 +0000
+++ b/lib/libcurses/tstp.c Sun Aug 04 14:11:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tstp.c,v 1.25 2002/01/02 10:38:29 blymn Exp $ */
+/* $NetBSD: tstp.c,v 1.26 2002/08/04 14:11:59 jdc Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)tstp.c 8.3 (Berkeley) 5/4/94";
#else
-__RCSID("$NetBSD: tstp.c,v 1.25 2002/01/02 10:38:29 blymn Exp $");
+__RCSID("$NetBSD: tstp.c,v 1.26 2002/08/04 14:11:59 jdc Exp $");
#endif
#endif /* not lint */
@@ -170,12 +170,12 @@
/* Reset meta */
__restore_meta_state();
+ /* Restart the screen. */
+ __startwin(_cursesi_screen);
+
/* Reset cursor visibility */
__restore_cursor_vis();
- /* Restart the screen. */
- __startwin(_cursesi_screen);
-
/* Repaint the screen. */
wrefresh(curscr);
}
Home |
Main Index |
Thread Index |
Old Index