1 /* 2 * Copyright (c) 1981, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)idlok.c 8.2 (Berkeley) 05/04/94"; 10 #endif /* not lint */ 11 12 #include "curses.h" 13 14 /* 15 * idlok -- 16 * Turn on and off using insert/deleteln sequences for the 17 * given window. 18 */ 19 void 20 idlok(win, bf) 21 WINDOW *win; 22 int bf; 23 { 24 if (bf) 25 win->flags |= __IDLINE; 26 else 27 win->flags &= ~__IDLINE; 28 } 29