font/shaper: fix CoreText shaper to compile with latest terminal changes

This commit is contained in:
Mitchell Hashimoto
2024-04-03 10:14:17 -07:00
parent c1b5957cb0
commit f0f53bd8b1

View File

@ -111,13 +111,15 @@ pub const Shaper = struct {
pub fn runIterator(
self: *Shaper,
group: *GroupCache,
row: terminal.Screen.Row,
screen: *const terminal.Screen,
row: terminal.Pin,
selection: ?terminal.Selection,
cursor_x: ?usize,
) font.shape.RunIterator {
return .{
.hooks = .{ .shaper = self },
.group = group,
.screen = screen,
.row = row,
.selection = selection,
.cursor_x = cursor_x,