feat: add remaining styles to libvaxis renderer

This commit is contained in:
CJ van den Berg 2024-05-10 22:46:27 +02:00
parent 1cd3cb17ce
commit ec1fcd475b
3 changed files with 57 additions and 45 deletions

View file

@ -22,7 +22,7 @@ pub inline fn set_style(self: *Cell, style_: Style) void {
switch (fs) {
.normal => {},
.bold => self.cell.style.bold = true,
.italic => self.cell.style.italic = false,
.italic => self.cell.style.italic = true,
.underline => self.cell.style.ul_style = .single,
.undercurl => self.cell.style.ul_style = .curly,
.strikethrough => self.cell.style.strikethrough = true,