2017-11-19 14:18:44 -05:00
|
|
|
#ifndef EL__TERMINAL_TERMINFO_H
|
|
|
|
#define EL__TERMINAL_TERMINFO_H
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-11-19 14:18:44 -05:00
|
|
|
int terminfo_setupterm(char *term, int fildes);
|
2022-02-21 12:25:11 -05:00
|
|
|
const char *terminfo_clear_screen(void);
|
|
|
|
const char *terminfo_set_bold(int arg);
|
|
|
|
const char *terminfo_set_italics(int arg);
|
|
|
|
const char *terminfo_set_underline(int arg);
|
|
|
|
const char *terminfo_set_foreground(int arg);
|
|
|
|
const char *terminfo_set_background(int arg);
|
2017-11-21 09:36:28 -05:00
|
|
|
int terminfo_max_colors(void);
|
2022-02-21 12:25:11 -05:00
|
|
|
const char *terminfo_cursor_address(int y, int x);
|
2020-10-05 14:14:55 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-11-19 14:18:44 -05:00
|
|
|
#endif
|