Add spl's around queue manipulation
[unix-history] / usr / src / usr.bin / window / wwflush.c
CommitLineData
2349195c 1#ifndef lint
7edc52ec 2static char sccsid[] = "@(#)wwflush.c 3.6 %G%";
2349195c
EW
3#endif
4
5#include "ww.h"
e908bfac 6#include "tt.h"
2349195c
EW
7
8wwflush()
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}