summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r--Src/Zle/zle_hist.c6
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)) {