Commit | Line | Data |
---|---|---|
1 | #ifndef lint | |
2 | static char *sccsid = "@(#)wwflush.c 3.4 83/09/14"; | |
3 | #endif | |
4 | ||
5 | #include "ww.h" | |
6 | #include "tt.h" | |
7 | ||
8 | wwflush() | |
9 | { | |
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); | |
15 | (void) fflush(stdout); | |
16 | } |