author | Max Kellermann <max@duempel.org> | |
Mon, 6 Oct 2008 14:57:44 +0000 (16:57 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 6 Oct 2008 14:57:44 +0000 (16:57 +0200) | ||
commit | 36db27016bbb60534c14692861f9490cde4a6967 | |
tree | cbe93640af02fca26c72cbf989229ed94f6e5219 | tree | snapshot |
parent | 14cf4e0e78efd95d536ddf73f6b1ebe756d6bd44 | commit | diff |
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...
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 | diff | blob | history |