aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-07 11:04:43 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-07 11:04:43 +0100
commit708e9bc072eddc2a3d83bc5df45de2825b011ed1 (patch)
tree2991c62f49d0cb2eea86f8c5446cd0d9b5acc356 /tmux.1
parentb0fa36734e2da81a7f575f41aae399ab6a9e45a0 (diff)
downloadrtmux-708e9bc072eddc2a3d83bc5df45de2825b011ed1.tar.gz
rtmux-708e9bc072eddc2a3d83bc5df45de2825b011ed1.tar.bz2
rtmux-708e9bc072eddc2a3d83bc5df45de2825b011ed1.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 2859062e..867d24e7 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