xref: /original-bsd/lib/libcurses/idlok.c (revision 4ec22e22)
1 /*
2  * Copyright (c) 1981 Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)idlok.c	5.4 (Berkeley) 06/01/90";
10 #endif /* not lint */
11 
12 # include	"curses.ext"
13 
14 /*
15  * idlok:
16  *	Turn on and off using insert/deleteln sequences for the given
17  *	window.
18  *
19  */
20 idlok(win, bf)
21 register WINDOW	*win;
22 bool		bf;
23 {
24 	if (bf)
25 		win->_flags |= _IDLINE;
26 	else
27 		win->_flags &= ~_IDLINE;
28 }
29