diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-11-04 15:00:36 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-11-04 15:00:36 -0700 |
commit | 65e84b15a944c83862da736a427636f3e64d3fc2 (patch) | |
tree | 57cf3fa0d883ae45f322231cf16235cfb954cde0 /include | |
parent | 1455834a50b8b6a15567e971db664fe7a6cdfaf6 (diff) |
Feat: input readline now unicode aware
Updated our assumptions of readline to handle valid unicode input.
This required integrating with an explicit library to handle unicode
knowledge.
Diffstat (limited to 'include')
-rw-r--r-- | include/libunicode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libunicode.h b/include/libunicode.h index d6618eb..25d6dee 100644 --- a/include/libunicode.h +++ b/include/libunicode.h @@ -27,7 +27,7 @@ char *utf8·findlast(char* s, rune); // find last rune in char stream int utf8·canfit(char *, int); // XXX: odd function... -int utf8·isletter(rune r); +int utf8·isalpha(rune r); int utf8·isdigit(rune r); int utf8·isspace(rune r); int utf8·istitle(rune r); |