Add -e flag to capture-pane to include embedded ANSI SGR escape

sequences, from George Nachman.
This commit is contained in:
Nicholas Marriott
2013-03-22 15:51:54 +00:00
parent 8a6fbfa148
commit 8478895eeb
2 changed files with 14 additions and 9 deletions

9
tmux.1
View File

@ -1036,9 +1036,9 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.It Xo Ic capture-pane
.Op Fl e
.Op Fl p
.Op Fl b Ar buffer-index
.Op Fl c Ar target-client
.Op Fl E Ar end-line
.Op Fl S Ar start-line
.Op Fl t Ar target-pane
@ -1047,11 +1047,12 @@ but a different format may be specified with
Capture the contents of a pane.
If
.Fl p
is given, the output goes to
.Ar target-client
stdout, otherwise to the buffer specified with
is given, the output goes to stdout, otherwise to the buffer specified with
.Fl b
or a new buffer if omitted.
If
.Fl e
is given, the output includes escape sequences for text and background attributes.
.Pp
.Fl S
and