From 6ddee22f817af95147a38e17110af11da3fe4f5a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 10 Oct 2024 12:07:29 +0100 Subject: [PATCH] Portable tmux needs to check ENABLE_SIXEL. --- format.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/format.c b/format.c index f5e9d8fd..8e403281 100644 --- a/format.c +++ b/format.c @@ -2324,7 +2324,11 @@ format_cb_version(__unused struct format_tree *ft) static void * format_cb_sixel_support(__unused struct format_tree *ft) { +#ifdef ENABLE_SIXEL + return (xstrdup("1")); +#else return (xstrdup("0")); +#endif } /* Callback for active_window_index. */