diff options
Diffstat (limited to 'core/Core.zig')
| -rw-r--r-- | core/Core.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Core.zig b/core/Core.zig index 26860365..5b6eba75 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -2063,7 +2063,7 @@ pub fn sync(p: *Pardes) void { // The band unrolled under the tag's text pushes the body down: // the tag's rows, as everything under them counts them. // A terminal's or a kind's is drawn over its body instead (Band.over). - pane.band_rows = if (pane.collapsed or pardes.Band.over(pane)) 0 else @min(pardes.Band.takes(p, id), r.h -| pane.tag_rows); + pane.band_rows = if (pane.collapsed or pardes.Band.over(pane)) 0 else @min(pardes.Band.takes(p, id), r.h -| pane.tag_rows -| pardes.Band.body_rows); pane.tag_rows += pane.band_rows; const cols = @max(1, r.w -| config.GUTTER); // The tag steals the top rows. The pty is what the pane shows |
