fix: symbol match rendering for unicode symbols
This commit is contained in:
parent
17bb0e96fe
commit
44b323d3dd
1 changed files with 2 additions and 1 deletions
|
|
@ -2219,7 +2219,8 @@ 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) {
|
||||
render_match_cell(self, 0, index + 2 + icon_width, theme_) catch break;
|
||||
const col = egc_chunk_width(detail[0..@min(detail.len, index)], 0, 1);
|
||||
render_match_cell(self, 0, col + 2 + icon_width, theme_) catch break;
|
||||
} else break;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue