summaryrefslogtreecommitdiff
path: root/core/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/root.zig')
-rw-r--r--core/root.zig10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/root.zig b/core/root.zig
index 4a9b6e10..61c236ae 100644
--- a/core/root.zig
+++ b/core/root.zig
@@ -92,6 +92,7 @@ pub const keys = @import("keys.zig");
pub const bindings = @import("bindings.zig");
pub const TagState = @import("TagState.zig");
pub const Band = @import("Band.zig");
+pub const Pick = @import("Pick.zig");
pub const Addon = @import("Addon.zig");
pub const dump = @import("dump.zig");
pub const lsp = @import("lsp/lsp.zig");
@@ -117,6 +118,7 @@ pub const font_picker = platform == .gui or platform == .macos;
pub var turn: Turn = .{};
pub const Turn = @import("Turn.zig");
pub const Jump = @import("Jump.zig");
+pub const Trail = @import("Trail.zig");
const Loc = Jump.Loc;
pub const can_attach = platform == .tui or platform == .gui;
@@ -146,7 +148,9 @@ pub const MAX_TAG_ROWS = 8;
/// keyboard's, SPEC ยง3.4). A frame makes many a temporary Surface, each
/// with every layer: a layer to a pane here cost every frame 0.9%.
pub const MAX_TAG_LAYERS = BAND_LAYER + 1;
-pub const NOTICE_LAYER_BASE = MAX_PANES + MAX_COLS + 1;
+/// 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;
pub const BAND_LAYER = NOTICE_LAYER_BASE + MAX_PANES * Pane.Notices.max;
/// Columns a session holds (each costs about 8 KB of state, a column tag
/// being most of it).
@@ -410,10 +414,12 @@ test {
_ = @import("Plumb.zig");
_ = @import("lsp/Ask.zig");
_ = @import("Jump.zig");
+ _ = @import("Trail.zig");
_ = @import("keys.zig");
_ = @import("bindings.zig");
_ = @import("TagState.zig");
_ = @import("Band.zig");
+ _ = @import("Pick.zig");
_ = @import("Field.zig");
_ = @import("Effect.zig");
_ = @import("tape.zig");
@@ -634,7 +640,7 @@ const machine_lines = [_]struct { []const u8, usize, []const u8 }{
.{ "FrameStats.zig", 7, "a frame's clock and log: frames are local, never digested" },
.{ "Handover.zig", 29, "a window carried to another process over a socket: the session's host" },
.{ "Kind.zig", 1, "host_io's KindJob: a kind's job is the host's" },
- .{ "Messages.zig", 6, "the message clock, read through tape.value(.clock); PARDES_NOTIME, the tests', read by a host's `stamp` alone (between steps, or in a host's call), whose text the tape carries in the setMessage it makes: never a step's" },
+ .{ "Messages.zig", 4, "PARDES_NOTIME, the tests', and the time of day, read by a host's `stamp` alone (between steps, or in a host's call), whose text the tape carries in the setMessage it makes: never a step's" },
.{ "Output.zig", 2, "the fonts module (Fonts lists them under tape.site(.fonts)) and the build's version line" },
.{ "Stream.zig", 14, "the disk search's worker: it runs off the step and its batches are inputs" },
.{ "builtins.zig", 2, "Mount's probe (tape.site(.probe)) and Term's shell check (tape.site(.shell))" },