mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-22 04:18:48 +00:00
parent
d5598d1c61
commit
d606106f1c
@ -1,6 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
### master
|
### master
|
||||||
|
- tweak 'new_pane' creation strategy to fix #36
|
||||||
|
|
||||||
### v1.2.0, 2014-09-01
|
### v1.2.0, 2014-09-01
|
||||||
- new feature: inline strategies when restoring a program
|
- new feature: inline strategies when restoring a program
|
||||||
|
@ -99,8 +99,9 @@ new_pane() {
|
|||||||
local window_number="$2"
|
local window_number="$2"
|
||||||
local window_name="$3"
|
local window_name="$3"
|
||||||
local dir="$4"
|
local dir="$4"
|
||||||
tmux split-window -t "${session_name}:${window_number}" -c "$dir" -h
|
tmux split-window -t "${session_name}:${window_number}" -c "$dir"
|
||||||
tmux resize-pane -t "${session_name}:${window_number}" -L "999"
|
# minimize window so more panes can fit
|
||||||
|
tmux resize-pane -t "${session_name}:${window_number}" -U "999"
|
||||||
}
|
}
|
||||||
|
|
||||||
restore_pane() {
|
restore_pane() {
|
||||||
|
Loading…
Reference in New Issue
Block a user