summary refs log tree commit diff
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-12-18 12:48:25 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-12-18 12:48:25 +0900
commit5f33a93afb4da354ce81a564805826995550d275 (patch)
tree9fb430de266b7b6080410dc1affbe1fb3668a80a /Src/Zle/zle.h
parentaab0f6d763b0eb3eb964c576953c9dd0b90916ae (diff)
downloadzsh-5f33a93afb4da354ce81a564805826995550d275.tar.gz
zsh-5f33a93afb4da354ce81a564805826995550d275.tar.xz
zsh-5f33a93afb4da354ce81a564805826995550d275.zip
42116: multibyte support for ZLE vi-mode word motion
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index 07b310180..8261da92b 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -67,6 +67,7 @@ typedef wint_t   ZLE_INT_T;
 #define ZC_inblank iswspace
 #define ZC_iupper iswupper
 #define ZC_iword(x) wcsitype((x), IWORD)
+#define ZC_ipunct iswpunct
 
 #define ZC_tolower towlower
 #define ZC_toupper towupper
@@ -153,6 +154,7 @@ static inline int ZS_strncmp(ZLE_STRING_T s1, ZLE_STRING_T s2, size_t l)
 #define ZC_inblank inblank
 #define ZC_iupper isupper
 #define ZC_iword iword
+#define ZC_ipunct ispunct
 
 #define ZC_tolower tulower
 #define ZC_toupper tuupper