Deleted Added
full compact
refresh.h (1574) refresh.h (84260)
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Christos Zoulas of Cornell University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)refresh.h 8.1 (Berkeley) 6/4/93
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Christos Zoulas of Cornell University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)refresh.h 8.1 (Berkeley) 6/4/93
37 * $NetBSD: refresh.h,v 1.3 2000/09/04 22:06:32 lukem Exp $
38 * $FreeBSD: head/lib/libedit/refresh.h 84260 2001-10-01 08:41:27Z obrien $
37 */
38
39/*
40 * el.refresh.h: Screen refresh functions
41 */
42#ifndef _h_el_refresh
39 */
40
41/*
42 * el.refresh.h: Screen refresh functions
43 */
44#ifndef _h_el_refresh
43#define _h_el_refresh
45#define _h_el_refresh
44
45#include "histedit.h"
46
47typedef struct {
46
47#include "histedit.h"
48
49typedef struct {
48 coord_t r_cursor; /* Refresh cursor position */
49 int r_oldcv, r_newcv; /* Vertical locations */
50 coord_t r_cursor; /* Refresh cursor position */
51 int r_oldcv; /* Vertical locations */
52 int r_newcv;
50} el_refresh_t;
51
53} el_refresh_t;
54
52protected void re_putc __P((EditLine *, int));
53protected void re_clear_lines __P((EditLine *));
54protected void re_clear_display __P((EditLine *));
55protected void re_refresh __P((EditLine *));
56protected void re_refresh_cursor __P((EditLine *));
57protected void re_fastaddc __P((EditLine *));
58protected void re_goto_bottom __P((EditLine *));
55protected void re_putc(EditLine *, int, int);
56protected void re_clear_lines(EditLine *);
57protected void re_clear_display(EditLine *);
58protected void re_refresh(EditLine *);
59protected void re_refresh_cursor(EditLine *);
60protected void re_fastaddc(EditLine *);
61protected void re_goto_bottom(EditLine *);
59
60#endif /* _h_el_refresh */
62
63#endif /* _h_el_refresh */