diff options
Diffstat (limited to 'src/surface.zig')
| -rw-r--r-- | src/surface.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/surface.zig b/src/surface.zig index 8ed4074c..aa0068e3 100644 --- a/src/surface.zig +++ b/src/surface.zig @@ -257,6 +257,12 @@ pub const ImagePlace = struct { rgba: []const u8, iw: usize, ih: usize, + /// A terminal's kitty graphics stacking order (`z=`): the surface lists + /// a pane's images lowest first, so a shell drawing them in order puts + /// a higher one over a lower; below 0 the program means it under the + /// text, which the tty passes on to the outer terminal (the GUI draws + /// every image over the cells still). 0 for every other image. + z: i32 = 0, /// Rows [y, y+h) of `rgba` are the only ones that differ from the /// same pane page at revision `from`: a shell still holding that one may /// update just these rows instead of taking the whole image again. |
