home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / EDITOR / NVI179B / NVI179B.ZIP / vi / v_redraw.c < prev    next >
C/C++ Source or Header  |  1996-04-27  |  749b  |  40 lines

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