feat: add support for undercurl styles
This commit is contained in:
parent
b197b1235b
commit
0523350596
3 changed files with 7 additions and 0 deletions
|
@ -204,6 +204,10 @@ fn show_font(self: *Self, font: ?Widget.Theme.FontStyle) void {
|
|||
self.plane.set_styles(nc.style.underline);
|
||||
_ = self.plane.print(" underline", .{}) catch return;
|
||||
},
|
||||
.undercurl => {
|
||||
self.plane.set_styles(nc.style.undercurl);
|
||||
_ = self.plane.print(" undercurl", .{}) catch return;
|
||||
},
|
||||
.strikethrough => {
|
||||
self.plane.set_styles(nc.style.struck);
|
||||
_ = self.plane.print(" strikethrough", .{}) catch return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue