diff options
Diffstat (limited to 'core/panes.zig')
| -rw-r--r-- | core/panes.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/panes.zig b/core/panes.zig index c984a73e..6fcb15b6 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -36,7 +36,7 @@ pub const Pane = struct { /// it (views.zig). (The 9P server's part of `fs` says so in its type.) pub const replica = .{ .local = .{ "pv", "pv_known" }, - .derived = .{ "band_rows", "ghost_at", "ghost_rows", "wrap_line", "wrap_col", "wrap_pad", "wrap_n", "body_wrapped", "context_rows", "body_rows", "body_visible_rows", "context_row_limit", "geometry_key", "geometry_len", "top_skip", "notices", "pan", "targets" }, + .derived = .{ "ghost_at", "ghost_rows", "wrap_line", "wrap_col", "wrap_pad", "wrap_n", "body_wrapped", "context_rows", "body_rows", "body_visible_rows", "context_row_limit", "geometry_key", "geometry_len", "top_skip", "notices", "pan", "targets" }, .len = .{ .{ "question", "question_len" }, .{ "shell_tail", "shell_tail_len" }, .{ "sel_snap", "nsel_snap" } }, // A picture's memory is its own allocator's (a dump loaded makes // it there). @@ -300,6 +300,9 @@ pub const Pane = struct { /// Pointer rows count from the tag's first, so a body starts at this one. /// Its last `band_rows` are the band unrolled under its text (Band.zig). tag_rows: u16 = 1, + /// Dumped as `tag_rows` is: what the next layout reads (floorRows takes + /// the tag's own rows as their difference) is the last sync's, which a + /// load cannot work out again where that sync held the band short. band_rows: u16 = 0, /// The tag's first line on screen. A tag with more lines than rows /// scrolls to keep its caret in view while it has the keyboard; pointer |
