tangled
alpha
login
or
join now
rockorager.dev
/
comlink
2
fork
atom
an experimental irc client
2
fork
atom
overview
issues
pulls
pipelines
ui: draw unread with bold
rockorager.dev
1 year ago
5b01f57a
4e578c65
+4
-1
1 changed file
expand all
collapse all
unified
split
src
irc.zig
+4
-1
src/irc.zig
···
392
},
393
}
394
}
395
-
if (self.has_unread) style.fg = .{ .index = 4 };
0
0
0
396
const prefix: vxfw.RichText.TextSpan = if (self.has_unread_highlight)
397
.{ .text = " ●︎", .style = .{ .fg = .{ .index = 1 } } }
398
else
···
392
},
393
}
394
}
395
+
if (self.has_unread) {
396
+
style.fg = .{ .index = 4 };
397
+
style.bold = true;
398
+
}
399
const prefix: vxfw.RichText.TextSpan = if (self.has_unread_highlight)
400
.{ .text = " ●︎", .style = .{ .fg = .{ .index = 1 } } }
401
else