aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-08-01 08:42:34 +0000
committernicm <nicm>2019-08-01 08:42:34 +0000
commit2db5f9c21528e9a604af6e5d82689af93028d28b (patch)
tree6f003801e5151005aba9be12d707be86cd7b3a11 /tmux.1
parent58bbce09e210ab1fcead4496e3983332b0cb3bf3 (diff)
downloadrtmux-2db5f9c21528e9a604af6e5d82689af93028d28b.tar.gz
rtmux-2db5f9c21528e9a604af6e5d82689af93028d28b.tar.bz2
rtmux-2db5f9c21528e9a604af6e5d82689af93028d28b.zip
Add -N to capture-pane to preserve trailing spaces, from Leon Winter.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 9f219ffe..20863dfa 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1642,7 +1642,7 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.It Xo Ic capture-pane
-.Op Fl aepPqCJ
+.Op Fl aepPqCJN
.Op Fl b Ar buffer-name
.Op Fl E Ar end-line
.Op Fl S Ar start-line
@@ -1667,8 +1667,10 @@ is given, the output includes escape sequences for text and background
attributes.
.Fl C
also escapes non-printable characters as octal \exxx.
+.Fl N
+preserves trailing spaces at each line's end and
.Fl J
-joins wrapped lines and preserves trailing spaces at each line's end.
+preserves trailing spaces and joins any wrapped lines.
.Fl P
captures only any output that the pane has received that is the beginning of an
as-yet incomplete escape sequence.