fix(symbol_palette): add indent to match highlights

This commit is contained in:
CJ van den Berg 2026-03-17 22:11:45 +01:00
parent 3a16d7fe50
commit 22ed9a32d7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -2419,7 +2419,7 @@ pub fn render_symbol(
while (len > 0) : (len -= 1) {
if (cbor.matchValue(&iter, cbor.extract(&index)) catch break) {
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;
render_match_cell(self, 0, col + 2 + icon_width + indent, theme_) catch break;
} else break;
}
return false;