Fix test failulre with non-zero pane-base-index

This commit is contained in:
Junegunn Choi 2017-07-01 01:05:47 +09:00
parent 70cfa6af13
commit 3fc795340d
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -73,6 +73,7 @@ class Tmux
else
raise "Unknown shell: #{shell}"
end
go("set-window-option -t #{@win} pane-base-index 0")
@lines = `tput lines`.chomp.to_i
if shell == :fish