mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
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:
parent
c6141f1144
commit
db705a8396
5 changed files with 143 additions and 61 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue