summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 8c8a159e..2e36e13f 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -2031,7 +2031,7 @@ Loop:
t.previewed.wipe = true
if t.termSize.PxHeight > 0 {
rows := strings.Count(passThrough, "-")
- requiredLines = int(math.Floor(float64(rows*6*t.termSize.Lines) / float64(t.termSize.PxHeight)))
+ requiredLines = int(math.Ceil(float64(rows*6*t.termSize.Lines) / float64(t.termSize.PxHeight)))
}
}