Clean up capture-pane and add -P option to dump pending output, based on code

from George Nachman.
This commit is contained in:
Nicholas Marriott
2013-03-11 13:47:29 +00:00
parent 412ac6bc3a
commit b5516771d3
2 changed files with 135 additions and 78 deletions

5
tmux.1
View File

@ -1066,7 +1066,7 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.It Xo Ic capture-pane
.Op Fl aepq
.Op Fl aepPq
.Op Fl b Ar buffer-index
.Op Fl E Ar end-line
.Op Fl S Ar start-line
@ -1093,6 +1093,9 @@ attributes.
also escapes non-printable characters as octal \\xxx.
.Fl J
joins wrapped lines and preserves trailing spaces at each line's end.
.Fl P
captures only any output that the pane has received that is the beginning of an
as-yet incomplete escape sequence.
.Pp
.Fl S
and