From 6187bc5191f3420ab935db921a655cfde5b24216 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Sat, 27 Dec 2025 21:04:10 +0100 Subject: [PATCH] fix: typo in render_symbol --- src/tui/tui.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/tui.zig b/src/tui/tui.zig index d8c4f75..3ee8dbe 100644 --- a/src/tui/tui.zig +++ b/src/tui/tui.zig @@ -2219,7 +2219,7 @@ pub fn render_symbol( var len = cbor.decodeArrayHeader(&iter) catch return false; while (len > 0) : (len -= 1) { if (cbor.matchValue(&iter, cbor.extract(&index)) catch break) { - const col = egc_chunk_width(detail[0..@min(detail.len, index)], 0, 1); + const col = egc_chunk_width(symbol[0..@min(symbol.len, index)], 0, 1); render_match_cell(self, 0, col + 2 + icon_width, theme_) catch break; } else break; }