diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-15 10:45:18 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-15 10:45:18 -0700 |
commit | ea1bfd715e0765db680f804d2450d44e4028a519 (patch) | |
tree | 3f7702dcc5c65cbd1fff44191668dddfb231d062 /fallback.h | |
parent | b1281c3fb904c12b1710045c8084bc521e80d7f9 (diff) |
Set of changes to improve Unicode support with respect to combining characters.
Should address https://github.com/fish-shell/fish-shell/issues/155
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ #include <sys/types.h> #include <signal.h> +/** fish's internal versions of wcwidth and wcswidth, which can use an internal implementation if the system one is busted. */ +int fish_wcwidth(wchar_t wc); +int fish_wcswidth(const wchar_t *str, size_t n); + #ifndef WCHAR_MAX /** This _should_ be defined by wchar.h, but e.g. OpenBSD doesn't. |