diff options
author | Max Kellermann <max@duempel.org> | 2008-10-06 17:03:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-06 17:03:31 +0200 |
commit | 169c8fc6c4b7b92b9ba32eebc90ca7b5b90d1cf9 (patch) | |
tree | 0921a448de85414bf5fb8458af5ef27e80c8e89a /src/command.c | |
parent | 36db27016bbb60534c14692861f9490cde4a6967 (diff) | |
download | mpd-169c8fc6c4b7b92b9ba32eebc90ca7b5b90d1cf9.tar.gz mpd-169c8fc6c4b7b92b9ba32eebc90ca7b5b90d1cf9.tar.xz mpd-169c8fc6c4b7b92b9ba32eebc90ca7b5b90d1cf9.zip |
wreadln: support wide characters
wreadln() didn't distinguish narrow from wide characters, which
resulted in display corruption. This patch adds a lot of internal
conversions between byte positions, screen positions and character
position, which hopefully fixes all these bugs. Since these
conversions are quite expensive, the code should be revised and
optimized.
Diffstat (limited to 'src/command.c')
0 files changed, 0 insertions, 0 deletions