X-Git-Url: https://git.gag.com/?p=debian%2Fcpmtools;a=blobdiff_plain;f=term.h;fp=term.h;h=edb25ee23f6c48dcdefd2c2ee0f43bdb10c08f42;hp=0000000000000000000000000000000000000000;hb=0244ff6db7cb417c6210118e14ebc8a11924b7f6;hpb=be51a0b47ec4edacc689851a88ec6172737cb61c 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