We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d58b7 commit 2625de7Copy full SHA for 2625de7
CHANGELOG.md
@@ -1,6 +1,8 @@
1
# Changelog
2
3
### master
4
+- `capture-pane` gets a `-J` flag. It joins wrapped lines and preserves trailing
5
+ spaces at each line's end.
6
7
### v2.0.0, 2015-03-14
8
- update readme
scripts/capture_pane_helpers.sh
@@ -19,9 +19,9 @@ capture_pane() {
19
local capture_scope=$1
20
if [ $capture_scope == "History" ]; then
21
# copying 9M lines back will hopefully fetch the whole scrollback
22
- tmux capture-pane -S -9000000 -p > "$file"
+ tmux capture-pane -J -S -9000000 -p > "$file"
23
elif [[ $capture_scope == "Screen capture" ]]; then
24
- tmux capture-pane -p > "$file"
+ tmux capture-pane -J -p > "$file"
25
else
26
# error
27
exit 1
0 commit comments