X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=term.h;fp=term.h;h=edb25ee23f6c48dcdefd2c2ee0f43bdb10c08f42;hb=e835c6ef8d5a9d39cf0f2875faf38e63636045ba;hp=0000000000000000000000000000000000000000;hpb=b1e873c5b2f6376bb39ff0fda1464cbbacbae5f7;p=debian%2Fcpmtools diff --git a/term.h b/term.h new file mode 100644 index 0000000..edb25ee --- /dev/null +++ b/term.h @@ -0,0 +1,23 @@ +#ifndef TERM_H +#define TERM_H + +#ifdef __cplusplus +extern "C" { +#endif + +extern void term_init(void); +extern void term_exit(void); +extern void term_clear(void); +extern void term_xy(int x, int y); +extern void term_printf(char const *fmt, ...); +extern void term_putch(char ch); +extern int term_getch(void); +extern void term_reverse(int on); +extern int term_lines(void); +extern int term_cols(void); + +#ifdef __cplusplus +} +#endif + +#endif