You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
510 B

#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__
#ifdef HAS_WINDOWS
#undef printf
#endif
extern void out_printf(char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
#ifdef HAS_WINDOWS
#define printf p_r_i_n_t_f
#endif
#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