mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Replace utf8_width with Markus Kuhn's wcwidth.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4518 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
24bf34c6ca
commit
a8741bd799
8 changed files with 230 additions and 83 deletions
|
|
@ -425,7 +425,7 @@ void term_add_unichar(TERM_WINDOW *window, unichar chr)
|
|||
|
||||
switch (term_type) {
|
||||
case TERM_TYPE_UTF8:
|
||||
term_printed_text(utf8_width(chr));
|
||||
term_printed_text(mk_wcwidth(chr));
|
||||
term_addch_utf8(window, chr);
|
||||
break;
|
||||
case TERM_TYPE_BIG5:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue