4 static bool hasold
= FALSE
; /* for remembering old cursor type */
7 /****************************************************************/
8 /* Idlok() is used to set flag for using the terminal insert/ */
9 /* Delete line capabilities. This is not relevant for the PC */
10 /* Version of curses, and thus nothing is done. */
11 /****************************************************************/
18 /****************************************************************/
19 /* Clearok() marks window 'win' to cause screen clearing and */
20 /* Redraw the next time a refresh is done. */
21 /****************************************************************/
22 void clearok(win
, flag
)
27 _cursvar
.tmpwin
->_clear
= flag
;
32 /****************************************************************/
33 /* Leaveok() marks window 'win' to allow the update routines */
34 /* To leave the hardware cursor where it happens to be at the */
35 /* End of update. Usually used in combination with cursoff(). */
36 /****************************************************************/
38 void leaveok(win
, flag
)
45 /****************************************************************/
46 /* Scrollok() marks window 'win' to allow the scrolling region */
47 /* Of it to actually scroll. */
48 /****************************************************************/
49 void scrollok(win
, flag
)
56 /****************************************************************/
57 /* Nodelay() marks the window to make character input non- */
58 /* Waiting, i.e. if there is no character to get, -1 will be */
60 /****************************************************************/
61 void nodelay(win
, flag
)
68 /****************************************************************/
69 /* Keypad() marks window 'win' to use the special keypad mode. */
70 /****************************************************************/
71 void keypad(win
, flag
)
78 /****************************************************************/
79 /* Meta() allows use of any alternate character set allowed by */
80 /* The terminal. We always allow this on the PC, so this one */
82 /****************************************************************/