must free token_str if not used.
[unix-history] / usr / src / usr.bin / window / wwflush.c
... / ...
CommitLineData
1#ifndef lint
2static char *sccsid = "@(#)wwflush.c 3.4 83/09/14";
3#endif
4
5#include "ww.h"
6#include "tt.h"
7
8wwflush()
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}