diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-20 21:17:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-20 21:17:29 +0000 |
commit | b8ec06c870ac09d5949907640dca4c1a2b711ed5 (patch) | |
tree | f5676d7f945f34fe69e30e67fa7fbc8a82730b94 /Src/zsh.h | |
parent | a12b1f35aaeff5724c1d7b4824de62cb4e480698 (diff) | |
download | zsh-b8ec06c870ac09d5949907640dca4c1a2b711ed5.tar.gz zsh-b8ec06c870ac09d5949907640dca4c1a2b711ed5.tar.xz zsh-b8ec06c870ac09d5949907640dca4c1a2b711ed5.zip |
24853: use metafied strings for inner loops over history
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 67e4c0c31..f91d27680 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1606,12 +1606,11 @@ struct histent { Histent up; /* previous line (moving upward) */ Histent down; /* next line (moving downward) */ -#ifdef MULTIBYTE_SUPPORT /* (Note: must match ZLE_STRING_T!) */ - wchar_t *zle_text; /* the edited history line */ -#else - char *zle_text; /* the edited history line */ -#endif - int zle_len; /* length of zle_text */ + char *zle_text; /* the edited history line, + * a metafied, NULL-terminated string, + * i.e the same format as the original + * entry + */ time_t stim; /* command started time (datestamp) */ time_t ftim; /* command finished time */ short *words; /* Position of words in history */ |