fix(underline): use correct style value in switch
This commit is contained in:
parent
dff7681c30
commit
40e51ad054
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue