1 /* #includes */ /*{{{C}}}*//*{{{*/
7 #ifdef HAVE_NCURSES_NCURSES_H
8 #include <ncurses/ncurses.h>
23 void term_init(void) /*{{{*/
35 void term_exit(void) /*{{{*/
44 void term_clear(void) /*{{{*/
49 void term_xy(int x, int y) /*{{{*/
54 void term_printf(char const *fmt, ...) /*{{{*/
59 vw_printw(stdscr, fmt, ap);
63 void term_putch(char ch) /*{{{*/
68 int term_getch(void) /*{{{*/
73 void term_reverse(int on) /*{{{*/
75 if (on) attron(A_REVERSE);
76 else attroff(A_REVERSE);
79 int term_lines(void) /*{{{*/
84 int term_cols(void) /*{{{*/