mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-08 23:59:02 -05:00
termdesc: foot has undercurls since 1.18.0 (#2845)
References: * https://codeberg.org/dnkl/foot/src/branch/master/CHANGELOG.md#1-18-0 * https://codeberg.org/dnkl/foot/pulls/1747
This commit is contained in:
parent
bf5e78c48e
commit
25c08a3709
@ -792,7 +792,8 @@ apply_vte_heuristics(tinfo* ti, size_t* tablelen, size_t* tableused){
|
||||
}
|
||||
|
||||
static const char*
|
||||
apply_foot_heuristics(tinfo* ti, bool* forcesdm, bool* invertsixel){
|
||||
apply_foot_heuristics(tinfo* ti, size_t *tablelen, size_t *tableused,
|
||||
bool* forcesdm, bool* invertsixel){
|
||||
ti->caps.sextants = true;
|
||||
ti->caps.quadrants = true;
|
||||
ti->caps.rgb = true;
|
||||
@ -800,6 +801,11 @@ apply_foot_heuristics(tinfo* ti, bool* forcesdm, bool* invertsixel){
|
||||
if(compare_versions(ti->termversion, "1.8.2") < 0){
|
||||
*invertsixel = true;
|
||||
}
|
||||
if(compare_versions(ti->termversion, "1.18.0") >= 0){
|
||||
if(add_smulx_escapes(ti, tablelen, tableused)){
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
return "foot";
|
||||
}
|
||||
|
||||
@ -982,7 +988,8 @@ apply_term_heuristics(tinfo* ti, const char* tname, queried_terminals_e qterm,
|
||||
newname = apply_vte_heuristics(ti, tablelen, tableused);
|
||||
break;
|
||||
case TERMINAL_FOOT:
|
||||
newname = apply_foot_heuristics(ti, forcesdm, invertsixel);
|
||||
newname = apply_foot_heuristics(ti, tablelen, tableused,
|
||||
forcesdm, invertsixel);
|
||||
break;
|
||||
case TERMINAL_TMUX:
|
||||
newname = "tmux"; // FIXME what, oh what to do with tmux?
|
||||
|
Loading…
x
Reference in New Issue
Block a user