mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
Don't set the title on NetBSD's wscon
We might want to check the terminfo "XT" capability here, but for now let's do the quick fix.
This commit is contained in:
@@ -433,6 +433,9 @@ static bool does_term_support_setting_title() {
|
||||
if (!recognized) {
|
||||
if (wcscmp(term, L"linux") == 0) return false;
|
||||
if (wcscmp(term, L"dumb") == 0) return false;
|
||||
// NetBSD
|
||||
if (wcscmp(term, L"vt100") == 0) return false;
|
||||
if (wcscmp(term, L"wsvt25") == 0) return false;
|
||||
|
||||
char buf[PATH_MAX];
|
||||
int retval = ttyname_r(STDIN_FILENO, buf, PATH_MAX);
|
||||
|
||||
Reference in New Issue
Block a user