1: #ifndef lint 2: static char sccsid[] = "@(#)wwflush.c 3.7 4/24/85"; 3: #endif 4: 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: 11: #include "ww.h" 12: #include "tt.h" 13: 14: wwflush() 15: { 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); 21: ttflush(); 22: }