diff options
author | nicm <nicm> | 2020-12-01 08:12:58 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-12-01 08:12:58 +0000 |
commit | 9a74bba007a60b93d1fdf68772e5cfb61b3558ff (patch) | |
tree | 5fb726f069c0e148a3d782542c748554d33b9609 /tmux.1 | |
parent | 33046ecee2090a7ff733097d1c05d377936b3e5f (diff) | |
download | rtmux-9a74bba007a60b93d1fdf68772e5cfb61b3558ff.tar.gz rtmux-9a74bba007a60b93d1fdf68772e5cfb61b3558ff.tar.bz2 rtmux-9a74bba007a60b93d1fdf68772e5cfb61b3558ff.zip |
Make replacement of ##s consistent when drawing formats, whether
followed by [ or not. Add a flag (e) to the q: format modifier to double
up #s and use it for the window_flags format variable so it doesn't end
up escaping any following text. GitHub issue 2485.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4638,7 +4638,12 @@ of the variable respectively. .Ql q:\& will escape .Xr sh 1 -special characters. +special characters or with an +.Ql e +suffix, escape hash characters (so +.Ql # +becomes +.Ql ## ). .Ql E:\& will expand the format twice, for example .Ql #{E:status-left} |