tmux capturep
Capture the contents of a pane to a buffer
Options
Name | Description |
---|---|
-a | Use the alternate screen and history is not accessible |
-e | Include escape sequences for text and background attributes |
-p | Redirect output to stdout |
-P | Capture only outputs that is the beginning of an as-yet incomplete escape sequence |
-q | Do not throw an error if not alternate screen is found |
-C | Escape non-printable characters as octal |
-J | Preserve trailing spaces and join any wrapped lines |
-N | Preserve trailing spaces at each line's end |
-b <buffer-name> | The buffer name |
-E <end-line> | Ending line number |
-S <start-line> | Starting line number |
-t <src-pane> | The target pane |