Add a parser for a subset of JSON, will be used for new layout strings

(and maybe some other stuff), from Dane Jensen.
This commit is contained in:
nicm
2026-09-08 08:33:10 +00:00
committed by tmux update bot
parent 96f4c7b9fa
commit 01d1d6580a
5 changed files with 1061 additions and 11 deletions

10
tmux.1
View File

@@ -1,4 +1,4 @@
.\" $OpenBSD: tmux.1,v 1.1165 2026/09/08 07:31:59 nicm Exp $
.\" $OpenBSD: tmux.1,v 1.1166 2026/09/08 08:33:10 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -8277,7 +8277,7 @@ The following keys are available in menus:
.El
.Tg display
.It Xo Ic display\-message
.Op Fl aCIlNpv
.Op Fl aCIjlNpv
.Op Fl c Ar target\-client
.Op Fl d Ar delay
.Op Fl t Ar target\-pane
@@ -8317,6 +8317,12 @@ if
.Fl t
is given, otherwise the active pane.
.Pp
If
.Fl j
is given,
.Ar message
is parsed as JSON and printed.
.Pp
.Fl v
prints verbose logging as the format is parsed and
.Fl a