19bb6d86bSdist /* 2*f8557398Sbostic * Copyright (c) 1981, 1993, 1994 398b745f7Sbostic * The Regents of the University of California. All rights reserved. 40c41a22eSbostic * 5833fc2a5Sbostic * %sccs.include.redist.c% 69bb6d86bSdist */ 79bb6d86bSdist 89bb6d86bSdist #ifndef lint 9*f8557398Sbostic static char sccsid[] = "@(#)idlok.c 8.2 (Berkeley) 05/04/94"; 100c41a22eSbostic #endif /* not lint */ 119bb6d86bSdist 12*f8557398Sbostic #include "curses.h" 13d5d6dbaeSbloom 14d5d6dbaeSbloom /* 150acc678bSbostic * idlok -- 160acc678bSbostic * Turn on and off using insert/deleteln sequences for the 170acc678bSbostic * given window. 18d5d6dbaeSbloom */ 190acc678bSbostic void idlok(win,bf)20d5d6dbaeSbloomidlok(win, bf) 210acc678bSbostic WINDOW *win; 220acc678bSbostic int bf; 23d5d6dbaeSbloom { 24d5d6dbaeSbloom if (bf) 25bcc2d588Selan win->flags |= __IDLINE; 26d5d6dbaeSbloom else 27bcc2d588Selan win->flags &= ~__IDLINE; 28d5d6dbaeSbloom } 29