Reset cursor visibility after restarting the screen, as the cursor visibility

setting can be changed when the screen is restarted.
This commit is contained in:
jdc 2002-08-04 14:11:59 +00:00
parent 2997fb2d61
commit 7aea6936d1

View File

@ -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 @@ __restartwin(void)
/* Reset meta */
__restore_meta_state();
/* Reset cursor visibility */
__restore_cursor_vis();
/* Restart the screen. */
__startwin(_cursesi_screen);
/* Reset cursor visibility */
__restore_cursor_vis();
/* Repaint the screen. */
wrefresh(curscr);
}