about summary refs log tree commit diff
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2005-02-23 16:29:56 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2005-02-23 16:29:56 +0000
commitc4a4c1340abeaedda251b90e99e4c9ae77880848 (patch)
tree99a79ccfa85571f23435d24c8152ccaf2454bbf6 /Src/Zle/zle.h
parent0da7162ed6b2f7ae727fb7c69e52d3b52a872600 (diff)
downloadzsh-c4a4c1340abeaedda251b90e99e4c9ae77880848.tar.gz
zsh-c4a4c1340abeaedda251b90e99e4c9ae77880848.tar.xz
zsh-c4a4c1340abeaedda251b90e99e4c9ae77880848.zip
20857: rewrite zle_refresh to use wide characters.
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index c95959776..23d5e3cd5 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -48,8 +48,15 @@ typedef wint_t   ZLE_INT_T;
 #define ZWC(c)	L ## c
 
 #define ZLEEOF	WEOF
+
 #define ZS_memcpy wmemcpy
 #define ZS_memmove wmemmove
+#define ZS_memset wmemset
+#define ZS_strlen wcslen
+#define ZS_strcpy wcscpy
+#define ZS_strncpy wcsncpy
+#define ZS_strncmp wcsncmp
+
 #define ZC_icntrl iswcntrl
 
 #define LASTFULLCHAR	lastchar_wide
@@ -65,8 +72,15 @@ typedef int ZLE_INT_T;
 #define ZWC(c)	c
 
 #define ZLEEOF	EOF
+
 #define ZS_memcpy memcpy
 #define ZS_memmove memmove
+#define ZS_memset memset
+#define ZS_strlen strlen
+#define ZS_strcpy strcpy
+#define ZS_strncpy strncpy
+#define ZS_strncmp strncmp
+
 #define ZC_icntrl icntrl
 
 #define LASTFULLCHAR	lastchar