rename ENABLE_KITTY to ENABLE_KITTY_IMAGES

This commit is contained in:
Thomas Adam
2026-03-02 17:07:07 +00:00
parent 1634db8589
commit 5a233e26ec
9 changed files with 25 additions and 26 deletions

View File

@@ -667,7 +667,7 @@ screen_redraw_screen(struct client *c)
}
if (flags & CLIENT_REDRAWWINDOW) {
log_debug("%s: redrawing panes", c->name);
#ifdef ENABLE_KITTY
#ifdef ENABLE_KITTY_IMAGES
/*
* Delete all kitty image placements before redrawing panes.
* This must happen unconditionally — even when the new window
@@ -708,7 +708,7 @@ screen_redraw_pane(struct client *c, struct window_pane *wp,
tty_update_mode(&c->tty, c->tty.mode, NULL);
if (!redraw_scrollbar_only) {
#ifdef ENABLE_KITTY
#ifdef ENABLE_KITTY_IMAGES
tty_kitty_delete_all(&c->tty);
#endif
screen_redraw_draw_pane(&ctx, wp);