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);
|
2017-11-20 05:28:53 -05:00
|
|
|
char *terminfo_clear_screen(void);
|
2017-11-19 14:18:44 -05:00
|
|
|
char *terminfo_set_bold(int arg);
|
|
|
|
char *terminfo_set_italics(int arg);
|
|
|
|
char *terminfo_set_underline(int arg);
|
|
|
|
char *terminfo_set_foreground(int arg);
|
|
|
|
char *terminfo_set_background(int arg);
|
2017-11-21 09:36:28 -05:00
|
|
|
int terminfo_max_colors(void);
|
2017-11-23 07:39:04 -05:00
|
|
|
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
|