Windows Terminal lacks smulx, but MinTTY has it

This commit is contained in:
nick black 2021-08-28 20:12:30 -04:00
parent d7d18dcb64
commit 8802bf115e
2 changed files with 3 additions and 2 deletions

View File

@ -557,6 +557,9 @@ apply_term_heuristics(tinfo* ti, const char* termname, queried_terminals_e qterm
}
}else if(qterm == TERMINAL_MINTTY){
termname = "MinTTY";
if(add_smulx_escapes(ti, tablelen, tableused)){
return -1;
}
}else if(qterm == TERMINAL_CONTOUR){
termname = "Contour";
ti->caps.quadrants = true;

View File

@ -34,8 +34,6 @@ int prepare_windows_terminal(tinfo* ti, size_t* tablelen, size_t* tableused){
{ ESCAPE_RITM, "\x1b[23m", },
{ ESCAPE_SMUL, "\x1b[4m", },
{ ESCAPE_RMUL, "\x1b[24m", },
{ ESCAPE_SMULX, "\x1b[4:3m", },
{ ESCAPE_SMULNOX,"\x1b[4:0m", },
{ ESCAPE_SGR0, "\x1b[0m", },
{ ESCAPE_MAX, NULL, }
}, *w;