basic/terminal-util: add a heuristic check whether terminfo file exists
This commit is contained in:
@@ -148,6 +148,8 @@ int terminal_get_size_by_dsr(int input_fd, int output_fd, unsigned *ret_rows, un
|
||||
int terminal_fix_size(int input_fd, int output_fd);
|
||||
|
||||
int terminal_get_terminfo_by_dcs(int fd, char **ret_name);
|
||||
int have_terminfo_file(const char *name);
|
||||
int query_term_for_tty(const char *tty, char **ret_term);
|
||||
|
||||
int terminal_is_pty_fd(int fd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user