Shougo / ddu-ui-ff

Fuzzy finder UI for ddu.vim
MIT License
55 stars 26 forks source link

fix: use byte length instead character length for the item prefix #135

Closed Milly closed 8 months ago

Milly commented 8 months ago

Problem

If we make the following settings. The highlight column position is not valid.

Cause

Column position of the highlight is calculated by byte length. However, strwidth() is used.

Fix

Use strlen() instead.