widget(CodeView): fix int type
This commit is contained in:
parent
142225a48c
commit
ab2b356a1f
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ fn drawCode(self: *@This(), win: vaxis.Window, buffer: Buffer, opts: DrawOptions
|
|||
self.scroll_view.writeCell(win, pos.x, pos.y, cell);
|
||||
} else {
|
||||
self.scroll_view.writeCell(win, pos.x, pos.y, .{
|
||||
.char = .{ .grapheme = cluster, .width = width },
|
||||
.char = .{ .grapheme = cluster, .width = @intCast(width) },
|
||||
.style = style,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue