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