visible_cursor was used only with PDC_cursor_*().

This commit is contained in:
William McBrine
2006-07-23 19:32:48 +00:00
parent 09fc2ae3e7
commit 5376c72cc1
2 changed files with 3 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
* See the file maintain.er for details of the current maintainer. *
************************************************************************/
/* $Id: curses.h,v 1.197 2006/07/14 17:50:15 wmcbrine Exp $ */
/* $Id: curses.h,v 1.198 2006/07/23 19:32:48 wmcbrine Exp $ */
/*----------------------------------------------------------------------*
* PDCurses *
@@ -45,7 +45,7 @@ PDCurses portable platform definitions list:
**man-end****************************************************************/
#define PDC_BUILD 2809
#define PDC_BUILD 2810
#define PDCURSES 1 /* PDCurses-only routines */
#define XOPEN 1 /* X/Open Curses routines */
#define SYSVcurses 1 /* System V Curses routines */
@@ -579,7 +579,6 @@ typedef struct
bool raw_inp; /* raw input mode (v. cooked input) */
bool raw_out; /* raw output mode (7 v. 8 bits) */
bool orgcbr; /* original MSDOS ^-BREAK setting */
bool visible_cursor; /* TRUE if cursor is visible */
bool audible; /* FALSE if the bell is visual */
bool mono; /* TRUE if current screen is mono */
bool sizeable; /* TRUE if adapter is resizeable */

View File

@@ -38,7 +38,7 @@
# undef wnoutrefresh
#endif
RCSID("$Id: initscr.c,v 1.59 2006/07/23 12:52:06 wmcbrine Exp $");
RCSID("$Id: initscr.c,v 1.60 2006/07/23 19:32:48 wmcbrine Exp $");
const char *_curses_notice = "PDCurses 3.0 - Public Domain 2006";
@@ -184,7 +184,6 @@ WINDOW *Xinitscr(int argc, char *argv[])
SP->save_key_modifiers = FALSE;
SP->return_key_modifiers = FALSE;
SP->echo = FALSE;
SP->visible_cursor = TRUE; /* Assume that it is visible */
SP->visibility = 1;
SP->audible = TRUE;
SP->blank = ' ';
@@ -294,7 +293,6 @@ int endwin(void)
resize_term(PDC_get_rows(), PDC_get_columns());
}
SP->visible_cursor = FALSE; /* Force the visible cursor */
SP->cursor = SP->orig_cursor;
#endif