1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Add an option to use wcwidth_cjk() instead of wcwidth(), as several people

have asked for it.

[originally from svn r5542]
This commit is contained in:
Jacob Nevins
2005-03-22 23:20:23 +00:00
parent 5b695d81ad
commit faf59c78be
9 changed files with 36 additions and 6 deletions

View File

@ -525,6 +525,7 @@ struct config_tag {
/* translations */
int vtmode;
char line_codepage[128];
int cjk_ambig_wide;
int utf8_override;
int xlat_capslockcyr;
/* X11 forwarding */
@ -869,6 +870,8 @@ void get_unitab(int codepage, wchar_t * unitab, int ftype);
*/
int wcwidth(wchar_t ucs);
int wcswidth(const wchar_t *pwcs, size_t n);
int wcwidth_cjk(wchar_t ucs);
int wcswidth_cjk(const wchar_t *pwcs, size_t n);
/*
* Exports from mscrypto.c