mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-22 23:08:49 +00:00
Make "full" pane contents saving the default
This commit is contained in:
parent
a1e3d37461
commit
737568922b
@ -111,8 +111,8 @@ pane_full_command() {
|
||||
|
||||
capture_pane_contents() {
|
||||
local pane_id="$1"
|
||||
local start_line="0"
|
||||
[[ "$(get_tmux_option "$pane_contents_area_option" "visible")" == "full" ]] && start_line="-$2"
|
||||
local start_line="-$2"
|
||||
[[ "$(get_tmux_option "$pane_contents_area_option" "full")" == "visible" ]] && start_line="0"
|
||||
tmux capture-pane -epJ -S "$start_line" -t "$pane_id" > "$(resurrect_pane_file "$pane_id")"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user