summaryrefslogtreecommitdiff
path: root/core/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/surface.zig')
-rw-r--r--core/surface.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/surface.zig b/core/surface.zig
index 7928c89e..69473bc8 100644
--- a/core/surface.zig
+++ b/core/surface.zig
@@ -142,6 +142,10 @@ pub const Region = struct {
line: i32 = 0,
row: u32 = 0,
doc: u64 = 0,
+ /// A terminal's body whose program is mid-frame (synchronized output,
+ /// 2026): a frontend keeps showing what it showed there until the
+ /// frame is done, as a terminal holds its picture (tui.zig `Held`).
+ held: bool = false,
/// A body drawn as a strip of pictures (a PDF): how far down the strip
/// it shows, in pixels. Its placements are laid at the whole pixel; a
/// pixel frontend draws them the fraction higher.