projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an option to use wcwidth_cjk() instead of wcwidth(), as several people
[u/mdw/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
430fd96
..
43a66e6
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-525,6
+525,7
@@
struct config_tag {
/* translations */
int vtmode;
char line_codepage[128];
/* translations */
int vtmode;
char line_codepage[128];
+ int cjk_ambig_wide;
int utf8_override;
int xlat_capslockcyr;
/* X11 forwarding */
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(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
/*
* Exports from mscrypto.c