diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 15:51:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 15:51:54 +0000 |
commit | 8478895eeb014a4219c4d61edd598c05b073db68 (patch) | |
tree | c8867ec01619c1f1cfa9c0e7ad3b101a1116d547 /tmux.1 | |
parent | 8a6fbfa14829ad41b9b6f05f4382d8f4537b7271 (diff) |
Add -e flag to capture-pane to include embedded ANSI SGR escape
sequences, from George Nachman.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |