Support zellij floating pane via --popup (new name for --tmux) (#4145)

This commit is contained in:
Junegunn Choi
2026-03-26 21:32:56 +09:00
committed by GitHub
parent 87586ac5eb
commit 6f17d49dbb
8 changed files with 95 additions and 43 deletions
+1 -1
View File
@@ -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
}