summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/terminal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 9de92e3c..adca67a3 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -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)
}
}