mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-11 15:49:20 +08:00
Support zellij floating pane via --popup (new name for --tmux) (#4145)
This commit is contained in:
1 parent
87586ac5eb
commit
6f17d49dbb
8 files changed
+95
-43
No files matched your search
+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