nvimdev / dashboard-nvim

vim dashboard
MIT License
2.34k stars 190 forks source link

fix(doom): Fix cursor position for menu entries with other than 2 chars #426

Closed polirritmico closed 7 months ago

polirritmico commented 7 months ago

This should be a better approach than my previous PR (#424). The problem was that if icon strings with other than two characters where used, the cursor would be incorrectly positioned. Now it works when the user has no icons or uses widths other than two characters ("c "). For example: "c", "c ", "c ", etc.

Regards