this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

widgets: fix build terminal.Terminal

This also fixes the vt example.

Fixes: 58bc3fd43d77 ("deps: update zg")

authored by

Nguyễn Gia Phong and committed by
Tim Culverhouse
f1542bc5 4d118689

+1 -3
+1 -3
src/widgets/terminal/Terminal.zig
··· 24 24 pwd_change: []const u8, 25 25 }; 26 26 27 - const grapheme = @import("grapheme"); 28 - 29 27 const posix = std.posix; 30 28 31 29 const log = std.log.scoped(.terminal); ··· 292 290 293 291 switch (event) { 294 292 .print => |str| { 295 - var iter = grapheme.Iterator.init(str, &self.unicode.width_data.g_data); 293 + var iter = self.unicode.graphemeIterator(str); 296 294 while (iter.next()) |g| { 297 295 const gr = g.bytes(str); 298 296 // TODO: use actual instead of .unicode