ngspice/src/frontend/terminal.h

29 lines
510 B
C
Raw Normal View History

#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);
2010-02-08 22:15:17 +01:00
#ifdef __GNUC__
2010-02-08 23:17:57 +01:00
#ifdef HAS_WINDOWS
#undef printf
#endif
2010-02-08 22:15:17 +01:00
extern void out_printf(char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
2010-02-08 23:17:57 +01:00
#ifdef HAS_WINDOWS
#define printf p_r_i_n_t_f
#endif
2010-02-08 22:15:17 +01:00
#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