summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 081861ac..02983c84 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -67,6 +67,7 @@ pub const screen_state = if (terminal_panes) @import("screen_state.zig") else st
pub const views = @import("views.zig");
pub const rollback = @import("rollback.zig");
pub const replica = @import("replica.zig");
+pub const echo = @import("echo.zig");
pub const image = @import("image.zig");
pub const dump = @import("dump.zig");
pub const lsp = @import("lsp/lsp.zig");
@@ -478,6 +479,7 @@ pub const Loc = struct {
test {
_ = @import("rollback.zig");
_ = @import("replica.zig");
+ _ = @import("echo.zig");
_ = @import("modal.zig");
_ = @import("tagline.zig");
_ = @import("hunks.zig");
@@ -4698,6 +4700,10 @@ pub const Pardes = struct {
restore_buf: [1024]u8 = @splat(0),
surface: Surface = .{},
+ /// A replica's predicted echo (src/echo.zig), drawn over its terminals:
+ /// presentation, its own, in no digest and no rollback copy. Null on a
+ /// session's own core.
+ echo: ?*echo.Echo = null,
/// The view the fields above are of: whose layout, focus, pointer and
/// panes' cursors and scroll (views.zig). `views_open` says which views
/// there are, one a window or terminal; each not live is in `parked`.
@@ -4727,6 +4733,7 @@ pub const Pardes = struct {
"surface", "presentation", "frames", "chrome_animation", "lifts", "lift_serials",
"cursor_glide", "cursor_view", "cursor_crossing", "cursor_held", "frame_arena", "scratch",
"needs_frame", "present_skipped", "shell_continuous", "native_image_patches",
+ "echo",
// Drained by every pump before its digest; a replica's queues
// are its own.
"effects", "effects_head", "effects_len", "in_q", "in_head", "in_len",