Commit | Line | Data |
---|---|---|
6e1c93d0 | 1 | /* |
2f14f200 KB |
2 | * Copyright (c) 1981 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
c07973a2 | 5 | * %sccs.include.redist.c% |
6e1c93d0 DF |
6 | */ |
7 | ||
8 | #ifndef lint | |
c07973a2 | 9 | static char sccsid[] = "@(#)idlok.c 5.4 (Berkeley) %G%"; |
2f14f200 | 10 | #endif /* not lint */ |
6e1c93d0 | 11 | |
02115eb4 JB |
12 | # include "curses.ext" |
13 | ||
14 | /* | |
15 | * idlok: | |
16 | * Turn on and off using insert/deleteln sequences for the given | |
17 | * window. | |
18 | * | |
02115eb4 JB |
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 | } |