Add -a to capture-pane to capture alternate screen, from George Nachman.

This commit is contained in:
Nicholas Marriott
2013-02-24 07:52:03 +00:00
parent 234f6d27c1
commit b2a61348dd
2 changed files with 24 additions and 10 deletions

6
tmux.1
View File

@ -1066,8 +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 e
.Op Fl p
.Op Fl aep
.Op Fl b Ar buffer-index
.Op Fl E Ar end-line
.Op Fl S Ar start-line
@ -1081,6 +1080,9 @@ is given, the output goes to stdout, otherwise to the buffer specified with
.Fl b
or a new buffer if omitted.
If
.Fl a
is given, the alternate screen is used, and the history is not accessible.
If
.Fl e
is given, the output includes escape sequences for text and background
attributes.