|
|
1.1 root 1: #include "curses.ext"
2: /* @(#) clearok.c: 1.1 10/15/83 (1.19 3/17/83) */
3:
4: clearok(win,bf)
5: WINDOW *win;
6: int bf;
7: {
8: #ifdef DEBUG
9: if (win == stdscr)
10: fprintf("it's stdscr: ");
11: if (win == curscr)
12: fprintf("it's curscr: ");
13: if (outf) fprintf(outf, "clearok(%x, %d)\n", win, bf);
14: #endif
15: if (win==curscr)
16: SP->doclear = 1;
17: else
18: win->_clear = bf;
19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.