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( pub fn runIterator(
self: *Shaper, self: *Shaper,
group: *GroupCache, group: *GroupCache,
row: terminal.Screen.Row, screen: *const terminal.Screen,
row: terminal.Pin,
selection: ?terminal.Selection, selection: ?terminal.Selection,
cursor_x: ?usize, cursor_x: ?usize,
) font.shape.RunIterator { ) font.shape.RunIterator {
return .{ return .{
.hooks = .{ .shaper = self }, .hooks = .{ .shaper = self },
.group = group, .group = group,
.screen = screen,
.row = row, .row = row,
.selection = selection, .selection = selection,
.cursor_x = cursor_x, .cursor_x = cursor_x,