summaryrefslogtreecommitdiff
path: root/core/Core.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Core.zig')
-rw-r--r--core/Core.zig11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/Core.zig b/core/Core.zig
index a19453af..188df34c 100644
--- a/core/Core.zig
+++ b/core/Core.zig
@@ -175,6 +175,17 @@ pub const View = struct {
/// press during an active middle select-drag; consumed on middle release
chord_arg: ?[]u8 = null,
clip_pending: ?edit.ClipRequest = null,
+ /// What the frontend showing this view does on its own machine for an
+ /// input made in it (the user's ruling: a client's yank fills the
+ /// client's clipboard): each count moves once a request, and that
+ /// frontend acts when one moves; the session's host does it only for a
+ /// view no client draws (tape.hostCall). `yanks`: register `+` to its
+ /// clipboard; `pastes`: its clipboard read and sent back as a `paste`
+ /// (`clip_pending` says where it goes); `links`: `link` opened.
+ yanks: u32 = 0,
+ pastes: u32 = 0,
+ links: u32 = 0,
+ link: pardes.Effect.Buf(256) = .{},
};
gpa: std.mem.Allocator,