only use new kitty protocol with 0.21.3 #1900

This commit is contained in:
nick black 2021-07-25 21:25:50 -04:00 committed by nick black
parent 0c21404564
commit d3fa19e6d6

View File

@ -508,7 +508,7 @@ apply_term_heuristics(tinfo* ti, const char* termname, int fd,
if(add_smulx_escapes(ti, tablelen, tableused)){
return -1;
}
if(compare_versions(ti->termversion, "0.21.2") >= 0){
if(compare_versions(ti->termversion, "0.21.3") >= 0){
setup_kitty_bitmaps(ti, fd, KITTY_SELFREF);
}else if(compare_versions(ti->termversion, "0.20.0") >= 0){
setup_kitty_bitmaps(ti, fd, KITTY_ANIMATION);