Commit | Line | Data |
---|---|---|
2349195c | 1 | #ifndef lint |
19f9784c | 2 | static char *sccsid = "@(#)wwflush.c 3.4 83/09/14"; |
2349195c EW |
3 | #endif |
4 | ||
5 | #include "ww.h" | |
e908bfac | 6 | #include "tt.h" |
2349195c EW |
7 | |
8 | wwflush() | |
9 | { | |
19f9784c EW |
10 | if (wwcursorrow < 0 || wwcursorrow >= wwnrow |
11 | || wwcursorcol < 0 || wwcursorcol >= wwncol) | |
12 | (*tt.tt_move)(0, 0); | |
13 | else | |
14 | (*tt.tt_move)(wwcursorrow, wwcursorcol); | |
2349195c EW |
15 | (void) fflush(stdout); |
16 | } |