rename: ENABLE_SIXEL to ENABLE_SIXEL_IMAGES

This commit is contained in:
Thomas Adam
2026-03-02 17:10:19 +00:00
parent 5a233e26ec
commit aefdb34846
9 changed files with 48 additions and 48 deletions

10
tty.c
View File

@@ -67,7 +67,7 @@ static void tty_emulate_repeat(struct tty *, enum tty_code_code,
static void tty_draw_pane(struct tty *, const struct tty_ctx *, u_int);
static int tty_check_overlay(struct tty *, u_int, u_int);
#ifdef ENABLE_SIXEL
#ifdef ENABLE_SIXEL_IMAGES
static void tty_write_one(void (*)(struct tty *, const struct tty_ctx *),
struct client *, struct tty_ctx *);
#endif
@@ -1459,7 +1459,7 @@ tty_check_overlay_range(struct tty *tty, u_int px, u_int py, u_int nx)
return (c->overlay_check(c, c->overlay_data, px, py, nx));
}
#ifdef ENABLE_SIXEL
#ifdef ENABLE_SIXEL_IMAGES
/* Update context for client. */
static int
tty_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
@@ -1485,7 +1485,7 @@ tty_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
void
tty_draw_images(struct client *c, struct window_pane *wp, struct screen *s)
{
#ifdef ENABLE_SIXEL
#ifdef ENABLE_SIXEL_IMAGES
struct image *im;
struct tty_ctx ttyctx;
@@ -1588,7 +1588,7 @@ tty_write(void (*cmdfn)(struct tty *, const struct tty_ctx *),
}
}
#ifdef ENABLE_SIXEL
#ifdef ENABLE_SIXEL_IMAGES
/* Only write to the incoming tty instead of every client. */
static void
tty_write_one(void (*cmdfn)(struct tty *, const struct tty_ctx *),
@@ -2113,7 +2113,7 @@ tty_cmd_rawstring(struct tty *tty, const struct tty_ctx *ctx)
tty_invalidate(tty);
}
#ifdef ENABLE_SIXEL
#ifdef ENABLE_SIXEL_IMAGES
void
tty_cmd_sixelimage(struct tty *tty, const struct tty_ctx *ctx)
{