mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-10 17:51:58 -07:00
Export FZF_PREVIEW_HEIGHT instead of FZF_HEIGHT
https://github.com/junegunn/fzf.vim/issues/361
This commit is contained in:
@@ -580,6 +580,7 @@ func (t *Terminal) resizeWindows() {
|
||||
pwidth += 1
|
||||
}
|
||||
t.pwindow = t.tui.NewWindow(y+1, x+2, pwidth, h-2, tui.BorderNone)
|
||||
os.Setenv("FZF_PREVIEW_HEIGHT", strconv.Itoa(h-2))
|
||||
}
|
||||
switch t.preview.position {
|
||||
case posUp:
|
||||
|
Reference in New Issue
Block a user