basic/terminal-util: drop now-unused default_term_for_tty
This commit is contained in:
@@ -1246,10 +1246,6 @@ bool tty_is_vc_resolve(const char *tty) {
|
||||
return tty_is_vc(tty);
|
||||
}
|
||||
|
||||
const char* default_term_for_tty(const char *tty) {
|
||||
return tty && tty_is_vc_resolve(tty) ? "linux" : "vt220";
|
||||
}
|
||||
|
||||
int fd_columns(int fd) {
|
||||
struct winsize ws = {};
|
||||
|
||||
|
||||
@@ -100,7 +100,6 @@ bool tty_is_vc(const char *tty);
|
||||
bool tty_is_vc_resolve(const char *tty);
|
||||
bool tty_is_console(const char *tty) _pure_;
|
||||
int vtnr_from_tty(const char *tty);
|
||||
const char* default_term_for_tty(const char *tty);
|
||||
|
||||
void reset_dev_console_fd(int fd, bool switch_to_text);
|
||||
int lock_dev_console(void);
|
||||
|
||||
Reference in New Issue
Block a user