updated _maximize_pane() that stopped working with tmux 3.2 (2)
fixed SC2014 violation SC2034 (warning): current_pane_height appears unused. Verify use (or export if used externally)
This commit is contained in:
parent
f27641c846
commit
f930dbe12a
1 changed files with 0 additions and 1 deletions
|
@ -267,7 +267,6 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
|||
#
|
||||
# if [ -z "$restore" ]; then
|
||||
# [ "$(tmux list-panes -t "$current_session:" | wc -l | sed 's/^ *//g')" -eq 1 ] && tmux display "Can't maximize with only one pane" && return
|
||||
# current_pane_height=$(tmux display -t "$current_pane" -p "#{pane_height}")
|
||||
# info=$(tmux new-window -t "$current_session:" -F "#{session_name}:#{window_index}.#{pane_id}" -P "maximized... 2>/dev/null & \"$TMUX_PROGRAM\" ${TMUX_SOCKET:+-S \"$TMUX_SOCKET\"} setw -t \"$current_session:\" remain-on-exit on; printf \"\\033[\$(tput lines);0fPane has been maximized, press <prefix>+ to restore\n\" '$current_pane'")
|
||||
# session_window=${info%.*}
|
||||
# new_pane=${info#*.}
|
||||
|
|
Loading…
Reference in a new issue