roberthawdon/dfshow

wide characters can cause screen printing issues

roberthawdon opened this issue · 2 comments

If a filename has a character that takes up 2 spaces, it can cause garbage to be left on screen as well as the cursor bar to show the wrong length.

This looks like we need to write a function that counts the width of strings, as wcslen doesn't do this, and wcwidth only works with single characters.

Totally missed the wcswidth function. This should be fixed in 0.10.0-dev