Fix '--tmux bottom' when the status line is not at the bottom

Fix #3948
This commit is contained in:
Junegunn Choi 2024-08-02 23:11:20 +09:00
parent af4917dbb6
commit f90985845d
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -38,7 +38,7 @@ func runTmux(args []string, opts *Options) (int, error) {
case posUp:
tmuxArgs = append(tmuxArgs, "-xC", "-y0")
case posDown:
tmuxArgs = append(tmuxArgs, "-xC", "-yS")
tmuxArgs = append(tmuxArgs, "-xC", "-y9999")
case posLeft:
tmuxArgs = append(tmuxArgs, "-x0", "-yC")
case posRight: