xref: /original-bsd/usr.bin/window/wwend.c (revision 6209c1ed)
1 #ifndef lint
2 static char sccsid[] = "@(#)wwend.c	3.6 11/20/84";
3 #endif
4 
5 #include "ww.h"
6 #include "tt.h"
7 
8 wwend()
9 {
10 	(*tt.tt_move)(tt.tt_nrow - 1, 0);
11 	(*tt.tt_end)();
12 	ttflush();
13 	(void) wwsettty(0, &wwoldtty, &wwnewtty);
14 }
15