-/* $OpenBSD: format.c,v 1.320 2024/08/26 07:14:40 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.321 2024/10/10 10:41:33 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
return (xstrdup(getversion()));
}
+/* Callback for sixel_support. */
+static void *
+format_cb_sixel_support(__unused struct format_tree *ft)
+{
+ return (xstrdup("0"));
+}
+
/* Callback for active_window_index. */
static void *
format_cb_active_window_index(struct format_tree *ft)
{ "session_windows", FORMAT_TABLE_STRING,
format_cb_session_windows
},
+ { "sixel_support", FORMAT_TABLE_STRING,
+ format_cb_sixel_support
+ },
{ "socket_path", FORMAT_TABLE_STRING,
format_cb_socket_path
},
-.\" $OpenBSD: tmux.1,v 1.964 2024/10/07 12:58:36 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.965 2024/10/10 10:41:33 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 7 2024 $
+.Dd $Mdocdate: October 10 2024 $
.Dt TMUX 1
.Os
.Sh NAME
.It Li "session_stack" Ta "" Ta "Window indexes in most recent order"
.It Li "session_windows" Ta "" Ta "Number of windows in session"
.It Li "socket_path" Ta "" Ta "Server socket path"
+.It Li "sixel_support" Ta "" Ta "1 if server has support for SIXEL"
.It Li "start_time" Ta "" Ta "Server start time"
.It Li "uid" Ta "" Ta "Server UID"
.It Li "user" Ta "" Ta "Server user"