Unverified Commit d606106f authored by Bruno Sutic's avatar Bruno Sutic
Browse files

Fix: command prompt not ideal after a restore

Fixes #36
parent d5598d1c
# Changelog
### master
- tweak 'new_pane' creation strategy to fix #36
### v1.2.0, 2014-09-01
- new feature: inline strategies when restoring a program
......
......@@ -99,8 +99,9 @@ new_pane() {
local window_number="$2"
local window_name="$3"
local dir="$4"
tmux split-window -t "${session_name}:${window_number}" -c "$dir" -h
tmux resize-pane -t "${session_name}:${window_number}" -L "999"
tmux split-window -t "${session_name}:${window_number}" -c "$dir"
# minimize window so more panes can fit
tmux resize-pane -t "${session_name}:${window_number}" -U "999"
}
restore_pane() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment