fixed maximize pane not succeeding in maximizing the current pane
This commit is contained in:
parent
5746e69af7
commit
3ef7fe67b5
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ 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
|
||||
# window=$(tmux new-window -t "$current_session:" -P "exec maximized... 2> /dev/null & tmux setw -t $current_session remain-on-exit on; printf 'Pane has been maximized, press <prefix>+ to restore. %s' \\$current_pane")
|
||||
# window=$(tmux new-window -t "$current_session:" -P "exec maximized... 2> /dev/null & tmux setw -t $current_session: remain-on-exit on; printf 'Pane has been maximized, press <prefix>+ to restore. %s' \\$current_pane")
|
||||
# window=${window%.*}
|
||||
#
|
||||
# guard=10
|
||||
|
|
Loading…
Reference in a new issue