summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/surface.zig b/src/surface.zig
index ec4d73b1..3716df4f 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -246,8 +246,10 @@ pub const Region = struct {
/// A notice's index in its pane's `notices`.
notice: u8 = 0,
/// A body's view: the first line it shows (a file's scroll, a
- /// terminal's grid offset).
+ /// terminal's grid offset), and the text it shows (`draw.place`'s doc:
+ /// 0 for a terminal or a picture), which a frontend's glide follows.
line: i32 = 0,
+ doc: u64 = 0,
/// Cells the column-move rail takes off the right edge while it runs
/// there: layers and pixel shells stop short of them, the grid does not.
clip: u16 = 0,