summaryrefslogtreecommitdiff
path: root/tui/widget/widget.ha
diff options
context:
space:
mode:
Diffstat (limited to 'tui/widget/widget.ha')
-rw-r--r--tui/widget/widget.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/widget/widget.ha b/tui/widget/widget.ha
index 6c7ec7b..05ade80 100644
--- a/tui/widget/widget.ha
+++ b/tui/widget/widget.ha
@@ -198,7 +198,7 @@ export fn print(w: *widget) void = {
w.state.clear = false;
};
-// Applies styling (style) to the given string.
+// Applies styling (style) to the given string slice.
fn applystyles(st: (*style | void), s: []str) []str = {
return match (st) {
case let st: *style =>