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

George Nachman.
This commit is contained in:
Nicholas Marriott
2013-02-19 09:55:02 +00:00
parent a96dd1932a
commit 4d1d4d6e8e
5 changed files with 210 additions and 18 deletions

4
tmux.1
View File

@ -1040,6 +1040,7 @@ 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 E Ar end-line
@ -1053,6 +1054,9 @@ If
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