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 * %sccs.include.redist.c% 9 * 10 * @(#)refresh.h 8.1 (Berkeley) 06/04/93 11 */ 12 13 /* 14 * el.refresh.h: Screen refresh functions 15 */ 16 #ifndef _h_el_refresh 17 #define _h_el_refresh 18 19 #include "histedit.h" 20 21 typedef struct { 22 coord_t r_cursor; /* Refresh cursor position */ 23 int r_oldcv, r_newcv; /* Vertical locations */ 24 } el_refresh_t; 25 26 protected void re_putc __P((EditLine *, int)); 27 protected void re_clear_lines __P((EditLine *)); 28 protected void re_clear_display __P((EditLine *)); 29 protected void re_refresh __P((EditLine *)); 30 protected void re_refresh_cursor __P((EditLine *)); 31 protected void re_fastaddc __P((EditLine *)); 32 protected void re_goto_bottom __P((EditLine *)); 33 34 #endif /* _h_el_refresh */ 35