diff options
Diffstat (limited to 'src/pardes.zig')
| -rw-r--r-- | src/pardes.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pardes.zig b/src/pardes.zig index 8e9d3c7e..98b8819c 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -6598,9 +6598,9 @@ pub const Pardes = struct { pane.tag_top = @intCast(@min(top, lines - pane.tag_rows)); } else pane.tag_top = 0; const cols = @max(1, r.w -| config.GUTTER); - // The tag steals the top rows. The pty is what the pane shows, - // even one row dragged short: a taller pty would put its cursor - // below the pane (only winsize keeps two, ctlfs.pty). + // The tag steals the top rows. The pty is what the pane shows + // (layout keeps a terminal two body rows where the window has + // them): a taller pty would put its cursor below the pane. const rows = @max(1, r.h -| pane.tag_rows); // A terminal's pty follows its pane down to a row, whatever the // resize; only a folded one keeps the size it had, and one not |
