Code

wreadln: support wide characters
authorMax Kellermann <max@duempel.org>
Mon, 6 Oct 2008 15:03:31 +0000 (17:03 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 6 Oct 2008 15:03:31 +0000 (17:03 +0200)
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.


No differences found