changing window size, new struct ww
[unix-history] / usr / src / usr.bin / window / wwend.c
CommitLineData
d06fcb1c 1#ifndef lint
4cbd8755 2static char sccsid[] = "@(#)wwend.c 3.6 %G%";
d06fcb1c
EW
3#endif
4
5#include "ww.h"
e908bfac 6#include "tt.h"
d06fcb1c
EW
7
8wwend()
9{
bb05dfb5 10 (*tt.tt_move)(tt.tt_nrow - 1, 0);
e908bfac 11 (*tt.tt_end)();
b1189050 12 ttflush();
4cbd8755 13 (void) wwsettty(0, &wwoldtty, &wwnewtty);
d06fcb1c 14}