feat: add support for undercurl styles

This commit is contained in:
CJ van den Berg 2024-04-19 22:10:27 +02:00
parent b197b1235b
commit 0523350596
3 changed files with 7 additions and 0 deletions

View file

@ -91,6 +91,7 @@ fn set_style(plane: nc.Plane, style: Widget.Theme.Style) void {
.bold => plane.set_styles(nc.style.bold),
.italic => plane.set_styles(nc.style.italic),
.underline => plane.set_styles(nc.style.underline),
.undercurl => plane.set_styles(nc.style.undercurl),
.strikethrough => plane.set_styles(nc.style.struck),
};
}