mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-14 22:33:47 -05:00
Restore previous behavior
This commit is contained in:
@@ -1695,6 +1695,9 @@ func (t *Terminal) resizeWindows(forcePreview bool) {
|
||||
marginInt[0], marginInt[3], width-pwidth, height, false, noBorder)
|
||||
// NOTE: fzf --preview 'cat {}' --preview-window border-left --border
|
||||
x := marginInt[3] + width - pwidth
|
||||
if !previewOpts.border.HasRight() && t.borderShape.HasRight() {
|
||||
pwidth++
|
||||
}
|
||||
createPreviewWindow(marginInt[0], x, pwidth, height)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user