summaryrefslogtreecommitdiff
path: root/core/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/panes.zig')
-rw-r--r--core/panes.zig7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/panes.zig b/core/panes.zig
index a2e383c1..d9759d18 100644
--- a/core/panes.zig
+++ b/core/panes.zig
@@ -367,9 +367,10 @@ pub const Pane = struct {
/// The views `pv` holds a share for (a pane retired before a view came
/// has none of it).
pv_known: u8 = 0,
- /// The view that last typed into it: a terminal shown at two sizes takes
- /// that view's (Pardes.sync).
- sized_by: u8 = 0,
+ /// The view that last typed into it, while that view is open: a
+ /// terminal shown at two sizes takes that view's (Pardes.sync); none,
+ /// it keeps the size it has.
+ sized_by: ?u8 = 0,
/// A terminal shown in a view shorter than it (one that does not size
/// it): the rows its top is passed over by, so its cursor stays in
/// sight (Pane.panFor); 0 everywhere else.