diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-24 15:32:36 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-24 15:32:36 +0000 |
commit | 691dd7e5294d232a7ab8327e2038f9779732fa3c (patch) | |
tree | 9d73edabb8e0c4c26a7cf60ceceb3cc23e74d8dd /Src/Zle/zle_hist.c | |
parent | c4a4c1340abeaedda251b90e99e4c9ae77880848 (diff) | |
download | zsh-691dd7e5294d232a7ab8327e2038f9779732fa3c.tar.gz zsh-691dd7e5294d232a7ab8327e2038f9779732fa3c.tar.xz zsh-691dd7e5294d232a7ab8327e2038f9779732fa3c.zip |
20861: Fix statusline in Unicode, apart from isearch
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r-- | Src/Zle/zle_hist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index 18800fd26..0f8e354fa 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -766,6 +766,10 @@ get_isrch_spot(int num, int *hlp, int *posp, int *csp, int *lenp, int *dirp, int #define NORM_PROMPT_POS 8 #define FIRST_SEARCH_CHAR (NORM_PROMPT_POS + 14) +/* + * TODO: use of isearch buffer and strings need fixing for Unicode. + */ + /**/ static void doisearch(char **args, int dir) @@ -866,7 +870,7 @@ doisearch(char **args, int dir) statusline = ibuf + NORM_PROMPT_POS; } sbuf[sbptr] = '_'; - statusll = sbuf - statusline + sbptr + 1; + statusll = sbuf - (char *)/*TODO*/statusline + sbptr + 1; ref: zrefresh(); if (!(cmd = getkeycmd()) || cmd == Th(z_sendbreak)) { |