xref: /dflybsd-src/contrib/nvi2/vi/v_redraw.c (revision 07bc39c2f4bbca56f12568e06d89da17f2eeb965)
1*e0b8e63eSJohn Marino /*-
2*e0b8e63eSJohn Marino  * Copyright (c) 1992, 1993, 1994
3*e0b8e63eSJohn Marino  *	The Regents of the University of California.  All rights reserved.
4*e0b8e63eSJohn Marino  * Copyright (c) 1992, 1993, 1994, 1995, 1996
5*e0b8e63eSJohn Marino  *	Keith Bostic.  All rights reserved.
6*e0b8e63eSJohn Marino  *
7*e0b8e63eSJohn Marino  * See the LICENSE file for redistribution information.
8*e0b8e63eSJohn Marino  */
9*e0b8e63eSJohn Marino 
10*e0b8e63eSJohn Marino #include "config.h"
11*e0b8e63eSJohn Marino 
12*e0b8e63eSJohn Marino #include <sys/types.h>
13*e0b8e63eSJohn Marino #include <sys/queue.h>
14*e0b8e63eSJohn Marino #include <sys/time.h>
15*e0b8e63eSJohn Marino 
16*e0b8e63eSJohn Marino #include <bitstring.h>
17*e0b8e63eSJohn Marino #include <limits.h>
18*e0b8e63eSJohn Marino #include <stdio.h>
19*e0b8e63eSJohn Marino 
20*e0b8e63eSJohn Marino #include "../common/common.h"
21*e0b8e63eSJohn Marino #include "vi.h"
22*e0b8e63eSJohn Marino 
23*e0b8e63eSJohn Marino /*
24*e0b8e63eSJohn Marino  * v_redraw -- ^L, ^R
25*e0b8e63eSJohn Marino  *	Redraw the screen.
26*e0b8e63eSJohn Marino  *
27*e0b8e63eSJohn Marino  * PUBLIC: int v_redraw(SCR *, VICMD *);
28*e0b8e63eSJohn Marino  */
29*e0b8e63eSJohn Marino int
v_redraw(SCR * sp,VICMD * vp)30*e0b8e63eSJohn Marino v_redraw(SCR *sp, VICMD *vp)
31*e0b8e63eSJohn Marino {
32*e0b8e63eSJohn Marino 	return (sp->gp->scr_refresh(sp, 1));
33*e0b8e63eSJohn Marino }
34