windows terminal: disable quads/braille

pull/2122/head
nick black 3 years ago
parent adbc26dd9b
commit e5207c78c2

@ -675,10 +675,12 @@ int interrogate_terminfo(tinfo* ti, const char* termtype, FILE* out, unsigned ut
#ifdef __APPLE__
ti->qterm = macos_early_matches();
#elif defined(__MINGW64__)
if(termtype){
logwarn("termtype (%s) ignored on windows\n", termtype);
}
if(prepare_windows_terminal(ti, &tablelen, &tableused) == 0){
ti->qterm = TERMINAL_MSTERMINAL;
}
(void)termtype;
#elif defined(__linux__)
ti->linux_fb_fd = -1;
ti->linux_fbuffer = MAP_FAILED;

@ -84,10 +84,8 @@ int prepare_windows_terminal(tinfo* ti, size_t* tablelen, size_t* tableused){
logerror("couldn't set output console mode\n");
return -1;
}
ti->caps.quadrants = true;
ti->caps.braille = true;
ti->termname = "Windows Terminal";
loginfo("prepared Windows Terminal\n");
loginfo("verified Windows Terminal\n");
return 0;
}
#endif

Loading…
Cancel
Save