Commit | Line | Data |
---|---|---|
2349195c | 1 | #ifndef lint |
60de5df9 | 2 | static char sccsid[] = "@(#)wwflush.c 3.7 %G%"; |
2349195c EW |
3 | #endif |
4 | ||
60de5df9 EW |
5 | /* |
6 | * Copyright (c) 1983 Regents of the University of California, | |
7 | * All rights reserved. Redistribution permitted subject to | |
8 | * the terms of the Berkeley Software License Agreement. | |
9 | */ | |
10 | ||
2349195c | 11 | #include "ww.h" |
e908bfac | 12 | #include "tt.h" |
2349195c EW |
13 | |
14 | wwflush() | |
15 | { | |
19f9784c EW |
16 | if (wwcursorrow < 0 || wwcursorrow >= wwnrow |
17 | || wwcursorcol < 0 || wwcursorcol >= wwncol) | |
18 | (*tt.tt_move)(0, 0); | |
19 | else | |
20 | (*tt.tt_move)(wwcursorrow, wwcursorcol); | |
b1189050 | 21 | ttflush(); |
2349195c | 22 | } |