Clean up image support and add regression tests

This commit is contained in:
Michael Grant
2026-10-04 11:44:00 +01:00
parent c8f9c70534
commit 9ff51bd715
31 changed files with 465 additions and 633 deletions

View File

@@ -1332,7 +1332,7 @@ redraw_draw_pane_span(struct redraw_draw_ctx *dctx,
#ifdef ENABLE_IMAGES
if (phase != REDRAW_TEXT) {
image_draw_line(tty, s, px, py, n, x, y,
phase == REDRAW_IMAGES_BEFORE, &style_ctx);
phase == REDRAW_IMAGES_BEFORE);
return;
}
#endif