diff options
-rw-r--r-- | format.c | 1 | ||||
-rw-r--r-- | tmux.1 | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -529,6 +529,7 @@ format_create(struct cmdq_item *item, int flags) RB_INIT(&ft->tree); ft->flags = flags; + format_add(ft, "version", "%s", VERSION); format_add_cb(ft, "host", format_cb_host); format_add_cb(ft, "host_short", format_cb_host_short); format_add_cb(ft, "pid", format_cb_pid); @@ -3542,6 +3542,7 @@ The following variables are available, where appropriate: .It Li "session_windows" Ta "" Ta "Number of windows in session" .It Li "socket_path" Ta "" Ta "Server socket path" .It Li "start_time" Ta "" Ta "Server start time" +.It Li "version" Ta "" Ta "Server version" .It Li "window_activity" Ta "" Ta "Integer time of window last activity" .It Li "window_activity_flag" Ta "" Ta "1 if window has activity" .It Li "window_active" Ta "" Ta "1 if window active" |