diff options
author | nicm <nicm> | 2020-11-02 08:21:30 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-11-02 08:21:30 +0000 |
commit | ac5045a00f1fee2ca94aef063e6a5a3d2efce3f1 (patch) | |
tree | 57e3a352e410392c7a39d3d138a8548687cd1f91 /tmux.1 | |
parent | 95841ba16acafa8c1a516712ad0f2b48e34357e6 (diff) | |
download | rtmux-ac5045a00f1fee2ca94aef063e6a5a3d2efce3f1.tar.gz rtmux-ac5045a00f1fee2ca94aef063e6a5a3d2efce3f1.tar.bz2 rtmux-ac5045a00f1fee2ca94aef063e6a5a3d2efce3f1.zip |
Add numeric comparisons for formats, from teo_paul1 at yahoo dot com in
GitHub issue 2442.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -4544,7 +4544,7 @@ multiplication .Ql * , division .Ql / , -and modulus +modulus .Ql m or .Ql % @@ -4553,7 +4553,15 @@ or must be escaped as .Ql %% in formats which are also expanded by -.Xr strftime 3 ) . +.Xr strftime 3 ) +and numeric comparison operators +.Ql == , +.Ql != , +.Ql < , +.Ql <= , +.Ql > +and +.Ql >= . For example, .Ql #{e|*|f|4:5.5,3} multiplies 5.5 by 3 for a result with four decimal places and |