Fixes for Chinese multibyte characters handling and cursor movement, patch

by Wang WenRui


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3244 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2004-03-24 17:28:55 +00:00 committed by cras
commit db705a8396
5 changed files with 143 additions and 61 deletions

View file

@ -255,7 +255,7 @@ static void sig_gui_print_text(WINDOW_REC *window, void *fgcolor,
if (flags & GUI_PRINT_FLAG_CLRTOEOL)
term_clrtoeol(root_window);
term_addstr(root_window, str);
next_xpos += strlen(str);
next_xpos += strlen(str); /* FIXME utf8 or big5 */
return;
}