xref: /minix/external/bsd/nvi/dist/vi/v_redraw.c (revision 84d9c625)
1 /*	$NetBSD: v_redraw.c,v 1.2 2013/11/22 15:52:06 christos Exp $	*/
2 /*-
3  * Copyright (c) 1992, 1993, 1994
4  *	The Regents of the University of California.  All rights reserved.
5  * Copyright (c) 1992, 1993, 1994, 1995, 1996
6  *	Keith Bostic.  All rights reserved.
7  *
8  * See the LICENSE file for redistribution information.
9  */
10 
11 #include "config.h"
12 
13 #ifndef lint
14 static const char sccsid[] = "Id: v_redraw.c,v 10.7 2001/06/25 15:19:34 skimo Exp  (Berkeley) Date: 2001/06/25 15:19:34 ";
15 #endif /* not lint */
16 
17 #include <sys/types.h>
18 #include <sys/queue.h>
19 #include <sys/time.h>
20 
21 #include <bitstring.h>
22 #include <limits.h>
23 #include <stdio.h>
24 
25 #include "../common/common.h"
26 #include "vi.h"
27 
28 /*
29  * v_redraw -- ^L, ^R
30  *	Redraw the screen.
31  *
32  * PUBLIC: int v_redraw __P((SCR *, VICMD *));
33  */
34 int
35 v_redraw(SCR *sp, VICMD *vp)
36 {
37 	return (sp->gp->scr_refresh(sp, 1));
38 }
39