Portable tmux needs to check ENABLE_SIXEL.

This commit is contained in:
Nicholas Marriott 2024-10-10 12:07:29 +01:00
parent 66c738bc10
commit 6ddee22f81

View File

@ -2324,7 +2324,11 @@ format_cb_version(__unused struct format_tree *ft)
static void * static void *
format_cb_sixel_support(__unused struct format_tree *ft) format_cb_sixel_support(__unused struct format_tree *ft)
{ {
#ifdef ENABLE_SIXEL
return (xstrdup("1"));
#else
return (xstrdup("0")); return (xstrdup("0"));
#endif
} }
/* Callback for active_window_index. */ /* Callback for active_window_index. */