Jacob Nevins
faf59c78be
Add an option to use wcwidth_cjk() instead of wcwidth(), as several people
...
have asked for it.
[originally from svn r5542]
2005-03-22 23:20:23 +00:00
Ben Harris
873b95deff
Put prototypes for the functions exported by wcwidth.c in putty.h, and remove
...
one from terminal.c. Have wcwidth.c include putty.h to get its prototypes.
[originally from svn r2377]
2002-12-29 15:08:27 +00:00
Ben Harris
f81cd2a3c6
Use <stddef.h> to get wchar_t, rather than <wchar.h> (or nothing, in putty.h).
...
Both are required to contain wchar_t in C99, but only <stddef.h> does in the
version of MPW I've got here.
[originally from svn r2206]
2002-11-10 00:03:55 +00:00
Simon Tatham
ea788e29c7
RDB also points out we don't need the CJK `not recommended for
...
general use' wcwidth function, so we condition it out to save space.
[originally from svn r1248]
2001-09-07 23:00:37 +00:00
Simon Tatham
8692657fdd
Patch from RDB: Markus Kuhn has issued an updated version of his
...
wcwidth function.
[originally from svn r1247]
2001-09-07 22:59:07 +00:00
Simon Tatham
26f1085038
RDB's Unicode patch. Fonts are now used in Unicode mode where
...
possible and we have a single unified means of trying to display any
Unicode code point. Instead of the various ad-hoc translation modes
we had before, we now have a single `codepage' option which allows
us to treat the incoming (and outgoing) text as any given character
set, and locally we map that to Unicode and back.
[originally from svn r1110]
2001-05-10 08:34:20 +00:00