feat: set undercurl color for diagnostics
This commit is contained in:
parent
4b694d4f0f
commit
0caeb2c523
3 changed files with 8 additions and 3 deletions
|
@ -30,6 +30,10 @@ pub inline fn set_style(self: *Cell, style_: Style) void {
|
|||
}
|
||||
}
|
||||
|
||||
pub inline fn set_under_color(self: *Cell, arg_rgb: c_uint) void {
|
||||
self.cell.style.ul = vaxis.Cell.Color.rgbFromUint(@intCast(arg_rgb));
|
||||
}
|
||||
|
||||
pub inline fn set_style_fg(self: *Cell, style_: Style) void {
|
||||
if (style_.fg) |fg| self.cell.style.fg = vaxis.Cell.Color.rgbFromUint(fg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue