diff options
author | Peter Stephenson <pws@zsh.org> | 2015-06-12 09:30:39 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-06-12 09:30:39 +0100 |
commit | f1923bdfa6300a0d32e3329eb2488447f76b8970 (patch) | |
tree | eed76e87f3e28384f5597030978d802265715a14 /Src/Zle/complist.c | |
parent | 370e7f73f68af06aaf1595bc8b16ec7e8c910409 (diff) | |
download | zsh-f1923bdfa6300a0d32e3329eb2488447f76b8970.tar.gz zsh-f1923bdfa6300a0d32e3329eb2488447f76b8970.tar.xz zsh-f1923bdfa6300a0d32e3329eb2488447f76b8970.zip |
Add non-metafied character length handling.
Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters.
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r-- | Src/Zle/complist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index f54206619..a02a5c37b 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -728,7 +728,7 @@ clnicezputs(int do_colors, char *s, int ml) if (do_colors) initiscol(); - mb_metacharinit(); + mb_charinit(); while (umleft > 0) { size_t cnt = eol ? MB_INVALID : mbrtowc(&cc, uptr, umleft, &mbs); |