summaryrefslogtreecommitdiff
path: root/tui
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst@digdash.com>2025-03-20 11:19:35 +0100
committerJulian Hurst <julian.hurst@digdash.com>2025-03-20 11:19:35 +0100
commit4a9e36481fc682d9e21bedef81e06a8335246de3 (patch)
treec65fd7c879411c568bf854fcc5446a1a3c7763fb /tui
parent589377ae5f1694cd5ad07105d5142348afd0fde3 (diff)
downloadhare-tui-4a9e36481fc682d9e21bedef81e06a8335246de3.tar.gz
Update comment
Diffstat (limited to 'tui')
-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 =>