Skip to content

Commit

Permalink
if query_sixel_details fails, disable bitmap support #1469
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jun 6, 2021
1 parent 2deeac9 commit 50fa3e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/termdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,9 @@ query_sixel(tinfo* ti, int fd){
}
}
if(ti->bitmap_supported){
query_sixel_details(ti, fd);
if(query_sixel_details(ti, fd)){
ti->bitmap_supported = false;
}
}
return 0;
}
Expand Down

0 comments on commit 50fa3e4

Please sign in to comment.