about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-01-26 13:39:46 +0000
committerClint Adams <clint@users.sourceforge.net>2005-01-26 13:39:46 +0000
commit9453ea957ef660644f2c8fdd7055d70355c27d8a (patch)
treecf0b488702930aeeb204d4fa87b9b366f2dc73e1 /Src/system.h
parent77bd05014d086bc76d42b8be656cb299d811376a (diff)
downloadzsh-9453ea957ef660644f2c8fdd7055d70355c27d8a.tar.gz
zsh-9453ea957ef660644f2c8fdd7055d70355c27d8a.tar.xz
zsh-9453ea957ef660644f2c8fdd7055d70355c27d8a.zip
* 20747: some wide char support in the zle refresh code.
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 55a628733..28828d49d 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -724,6 +724,9 @@ typedef wchar_t *ZLE_STRING_T;
 
 #define ZLENL	L'\n'
 #define ZLENUL	L'\0'
+#define ZLETAB	L'\t'
+#define ZS_memcpy wmemcpy
+#define ZC_icntrl iswcntrl
 #else
 typedef int ZLE_CHAR_T;
 typedef unsigned char *ZLE_STRING_T;
@@ -731,4 +734,7 @@ typedef unsigned char *ZLE_STRING_T;
 
 #define ZLENL	'\n'
 #define ZLENUL	'\0'
+#define ZLETAB	'\t'
+#define ZS_memcpy memcpy
+#define ZC_icntrl icntrl
 #endif