diff options
Diffstat (limited to 'core/root.zig')
| -rw-r--r-- | core/root.zig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/root.zig b/core/root.zig index c7163400..5c49a038 100644 --- a/core/root.zig +++ b/core/root.zig @@ -139,8 +139,10 @@ pub const TagKind = Layer.Kind; pub const MAX_TAG_ROWS = 8; /// Panes, then columns, then the workspace bar, then each pane's notice /// bands: a band to a tag, however many lines it has. -pub const MAX_TAG_LAYERS = MAX_PANES + MAX_COLS + 1 + MAX_PANES * Pane.Notices.max; -pub const NOTICE_LAYER_BASE = MAX_PANES + MAX_COLS + 1; +pub const MAX_TAG_LAYERS = MAX_PANES + MAX_COLS + 2 + MAX_PANES * Pane.Notices.max; +/// The notice row's layer, after the workspace tag's. +pub const NOTICE_ROW_LAYER = MAX_PANES + MAX_COLS + 1; +pub const NOTICE_LAYER_BASE = MAX_PANES + MAX_COLS + 2; /// Columns a session holds (each costs about 8 KB of state, a column tag /// being most of it). pub const MAX_COLS = 16; |
