mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-03 22:28:38 +00:00
font: update shaper to support new renderstate
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const std = @import("std");
|
||||
const builtin = @import("builtin");
|
||||
const options = @import("main.zig").options;
|
||||
const run = @import("shaper/run.zig");
|
||||
@@ -72,6 +73,12 @@ pub const RunOptions = struct {
|
||||
/// cached values may be updated during shaping.
|
||||
grid: *SharedGrid,
|
||||
|
||||
/// The cells for the row to shape.
|
||||
cells: std.MultiArrayList(terminal.RenderState.Cell).Slice = .empty,
|
||||
|
||||
/// The x boundaries of the selection in this row.
|
||||
selection2: ?[2]u16 = null,
|
||||
|
||||
/// The terminal screen to shape.
|
||||
screen: *const terminal.Screen,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user