diff options
Diffstat (limited to 'core/views.zig')
| -rw-r--r-- | core/views.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views.zig b/core/views.zig index 89dcb454..7230909a 100644 --- a/core/views.zig +++ b/core/views.zig @@ -33,7 +33,7 @@ pub const max = 4; /// A pane's fields that are each view's own: where it is in the view's /// layout, which of its texts has the keyboard, how far it is scrolled, and /// what the view's step measured of it (its tag's rows, its bands). -const pane_fields = [_][:0]const u8{ "focus", "vweight", "collapsed", "docked_to", "hscroll", "tag_scroll", "tag_top", "tag_rows", "view", "notices", "pan", "follow_scroll" }; +const pane_fields = [_][:0]const u8{ "focus", "vweight", "collapsed", "docked_to", "hscroll", "tag_scroll", "tag_top", "tag_rows", "view", "layers", "notices", "pan", "follow_scroll" }; /// The body's: its cursor, selections and mode. Its undo stays the pane's. const body_fields = [_][:0]const u8{ "mode", "cur_pinned", "cur_row", "cur_col", "vsel", "sels", "nsel", "select", "sticky_col", "restore_cursor", "last_edit", "reg_wait", "normal", "find_op", "find_ch" }; @@ -49,6 +49,7 @@ pub const PaneView = struct { tag_top: u16 = 0, tag_rows: u16 = 1, view: Pane.SessionView = .{}, + layers: File.Layers = .{}, notices: Pane.Notices = .{}, pan: u16 = 0, follow_scroll: usize = 0, |
