|
|
1.1 root 1: #include "curses.ext"
2: /* @(#) intrflush.c: 1.1 10/15/83 (1.19 3/17/83) */
3:
4: /*
5: * TRUE => flush input when an interrupt key is pressed
6: */
7: intrflush(win,bf)
8: WINDOW *win; int bf;
9: {
10: #ifdef USG
11: if (bf)
12: (cur_term->Nttyb).c_lflag &= ~NOFLSH;
13: else
14: (cur_term->Nttyb).c_lflag |= NOFLSH;
15: #else
16: /* can't do this in 4.1BSD or V7 */
17: #endif
18: reset_prog_mode();
19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.