aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 15:48:35 +0000
committernicm <nicm>2020-05-16 15:48:35 +0000
commitdaa95810b53c25d10c90b85ef6fbf8ab32479e23 (patch)
tree30ddfdfa44e7a3f4a9e57f9195d27b1b0686c692 /tmux.1
parent367b4e4e0f1d78589398cddb609b33be870af30c (diff)
downloadrtmux-daa95810b53c25d10c90b85ef6fbf8ab32479e23.tar.gz
rtmux-daa95810b53c25d10c90b85ef6fbf8ab32479e23.tar.bz2
rtmux-daa95810b53c25d10c90b85ef6fbf8ab32479e23.zip
Allow a custom time format to be given to the t format modifier.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.115
1 files changed, 15 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index bac95e88..852ae80f 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4407,6 +4407,21 @@ Adding
.Ql p (
.Ql `t/p` )
will use shorter but less accurate time format for times in the past.
+A custom format may be given using an
+.Ql f
+suffix (note that
+.Ql %
+must be escaped as
+.Ql %%
+if the format is separately being passed through
+.Xr strftime 3 ,
+for example in the
+.Ic status-left
+option):
+.Ql #{t/f/%%H#:%%M:window_activity} ,
+see
+.Xr strftime 3 .
+.Pp
The
.Ql b:\&
and