mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-11 18:32:36 +08:00
Support zellij floating pane via --popup (new name for --tmux) (#4145)
This commit is contained in:
+1
-1
@@ -2243,7 +2243,7 @@ func (t *Terminal) resizeWindows(forcePreview bool, redrawBorder bool) {
|
||||
width := screenWidth - marginInt[1] - marginInt[3]
|
||||
height := screenHeight - marginInt[0] - marginInt[2]
|
||||
|
||||
t.prevLines = make([]itemLine, screenHeight)
|
||||
t.prevLines = make([]itemLine, max(1, screenHeight))
|
||||
if t.border != nil && redrawBorder {
|
||||
t.border = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user