23 lines
420 B
C
23 lines
420 B
C
#ifndef _TERMINAL_H
|
|
#define _TERMINAL_H
|
|
|
|
extern bool out_isatty;
|
|
|
|
void out_init(void);
|
|
void outbufputc(void);
|
|
void promptreturn(void);
|
|
void out_send(char *string);
|
|
|
|
#ifdef __GNUC__
|
|
extern void out_printf(char *fmt, ...) __attribute__ ((format (__printf__, 1, 2)));
|
|
#else
|
|
extern void out_printf(char *fmt, ...);
|
|
#endif
|
|
|
|
void term_clear(void);
|
|
void term_home(void);
|
|
void term_cleol(void);
|
|
void tcap_init(void);
|
|
|
|
#endif
|