Home | History | Annotate | Line # | Download | only in vi
v_redraw.c revision 1.1
      1  1.1  christos /*-
      2  1.1  christos  * Copyright (c) 1992, 1993, 1994
      3  1.1  christos  *	The Regents of the University of California.  All rights reserved.
      4  1.1  christos  * Copyright (c) 1992, 1993, 1994, 1995, 1996
      5  1.1  christos  *	Keith Bostic.  All rights reserved.
      6  1.1  christos  *
      7  1.1  christos  * See the LICENSE file for redistribution information.
      8  1.1  christos  */
      9  1.1  christos 
     10  1.1  christos #include "config.h"
     11  1.1  christos 
     12  1.1  christos #ifndef lint
     13  1.1  christos 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 ";
     14  1.1  christos #endif /* not lint */
     15  1.1  christos 
     16  1.1  christos #include <sys/types.h>
     17  1.1  christos #include <sys/queue.h>
     18  1.1  christos #include <sys/time.h>
     19  1.1  christos 
     20  1.1  christos #include <bitstring.h>
     21  1.1  christos #include <limits.h>
     22  1.1  christos #include <stdio.h>
     23  1.1  christos 
     24  1.1  christos #include "../common/common.h"
     25  1.1  christos #include "vi.h"
     26  1.1  christos 
     27  1.1  christos /*
     28  1.1  christos  * v_redraw -- ^L, ^R
     29  1.1  christos  *	Redraw the screen.
     30  1.1  christos  *
     31  1.1  christos  * PUBLIC: int v_redraw __P((SCR *, VICMD *));
     32  1.1  christos  */
     33  1.1  christos int
     34  1.1  christos v_redraw(SCR *sp, VICMD *vp)
     35  1.1  christos {
     36  1.1  christos 	return (sp->gp->scr_refresh(sp, 1));
     37  1.1  christos }
     38