diff --git a/src/Vaxis.zig b/src/Vaxis.zig index 8376cca..e897ec7 100644 --- a/src/Vaxis.zig +++ b/src/Vaxis.zig @@ -496,7 +496,7 @@ pub fn render(self: *Vaxis, tty: AnyWriter) !void { } // underline color if (!Cell.Color.eql(cursor.ul, cell.style.ul)) { - switch (cell.style.bg) { + switch (cell.style.ul) { .default => try tty.writeAll(ctlseqs.ul_reset), .index => |idx| { switch (self.sgr) {