Code

wreadln: wait for complete multibyte sequence in wreadln_insert_byte()
authorMax Kellermann <max@duempel.org>
Mon, 6 Oct 2008 14:57:44 +0000 (16:57 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 6 Oct 2008 14:57:44 +0000 (16:57 +0200)
commit36db27016bbb60534c14692861f9490cde4a6967
treecbe93640af02fca26c72cbf989229ed94f6e5219
parent14cf4e0e78efd95d536ddf73f6b1ebe756d6bd44
wreadln: wait for complete multibyte sequence in wreadln_insert_byte()

For multibyte input, we should use wget_wch(), but this function isn't
supported properly on some platforms.  Add a patch which completes a
multibyte character with multiple non-blocking reads.  We'll see how
portable this hack is...
src/wreadln.c