about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-02-25 10:20:38 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-02-25 10:20:38 +0000
commitddd172ebe2c625d4e894c66f511e803b50b20f78 (patch)
tree30a3462e5c63f91fbb30f5d3eb47bbc250ff9568 /Src/zsh.h
parent29b6b82ade1a38df6a3227ba45f4eafc0b5d6fe0 (diff)
downloadzsh-ddd172ebe2c625d4e894c66f511e803b50b20f78.tar.gz
zsh-ddd172ebe2c625d4e894c66f511e803b50b20f78.tar.xz
zsh-ddd172ebe2c625d4e894c66f511e803b50b20f78.zip
20863: fix history (i)searching for Unicode
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 5d2f401f5..f36773d90 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1368,7 +1368,12 @@ struct histent {
 
     Histent up;			/* previous line (moving upward)    */
     Histent down;		/* next line (moving downward)      */
-    char *zle_text;		/* the edited history line          */
+#ifdef ZLE_UNICODE_SUPPORT
+    wchar_t *zle_text;		/* the edited history line          */
+#else
+    unsigned char *zle_text;	/* the edited history line          */
+#endif
+    int zle_len;		/* length of zle_text */
     time_t stim;		/* command started time (datestamp) */
     time_t ftim;		/* command finished time            */
     short *words;		/* Position of words in history     */