Commit | Line | Data |
---|---|---|
2349195c | 1 | #ifndef lint |
7edc52ec | 2 | static char sccsid[] = "@(#)wwflush.c 3.6 %G%"; |
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); | |
b1189050 | 15 | ttflush(); |
2349195c | 16 | } |