Fix "del" command at the end of a line.
[eco.git] / eco.h
blobe1864167b67c5699d1e77447b6fd74e8efe07e7b
1 /*
2 * Copyright (C) 2008 Diego Hernan Borghetti.
3 * Eco
4 */
6 #ifndef _ECO_H
7 #define _ECO_H
9 typedef struct _E_Eco {
10 /* tell when need leave the loop.. */
11 int loop;
13 /* terminal struct. */
14 E_Term *tr;
16 /* virtual terminal. */
17 E_Screen *sc;
19 /* buffer list. */
20 E_Buffer *buffers;
22 /* active view and buffer. */
23 E_View *view;
25 /* view list. */
26 E_View *view_list;
28 /* default screen colors. */
29 int fg;
30 int bg;
31 } E_Eco;
33 E_Buffer *e_main_find(E_Eco *ec, char *name);
34 void e_main_rotate(E_Eco *ec);
35 void e_main_add(E_Eco *ec, E_Buffer *bf);
36 void e_main_remove(E_Eco *ec, E_Buffer *bf);
38 void e_main_view_add(E_Eco *ec, E_View *v);
39 void e_main_view_rem(E_Eco *ec, E_View *v);
40 E_View *e_main_view_find(E_Eco *ec, E_Buffer *b);
42 #endif /* _ECO_H */