diff options
| author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2025-11-10 21:02:31 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-11-10 21:02:31 +0100 |
| commit | 6a691a3487cc26900475291ced12400318176aeb (patch) | |
| tree | ba5f16395098b632fe16369e684eaaf18e05faed /Src/utils.c | |
| parent | 53379, 53380: autoload nearcolor based on truecolor detection (diff) | |
| download | zsh-6a691a3487cc26900475291ced12400318176aeb.tar zsh-6a691a3487cc26900475291ced12400318176aeb.tar.gz zsh-6a691a3487cc26900475291ced12400318176aeb.tar.bz2 zsh-6a691a3487cc26900475291ced12400318176aeb.tar.lz zsh-6a691a3487cc26900475291ced12400318176aeb.tar.xz zsh-6a691a3487cc26900475291ced12400318176aeb.tar.zst zsh-6a691a3487cc26900475291ced12400318176aeb.zip | |
53404: terminal integration with semantic markers
Diffstat (limited to 'Src/utils.c')
| -rw-r--r-- | Src/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/utils.c b/Src/utils.c index e7e3f4f8d..a1d7c8cc2 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1556,7 +1556,7 @@ preprompt(void) eolmark = "%B%S%#%s%b"; opts[PROMPTPERCENT] = 1; txtunknownattrs = TXT_ATTR_ALL; - str = promptexpand(eolmark, 1, NULL, NULL); + str = promptexpand(eolmark, 1, NULL, NULL, NULL); countprompt(str, &w, 0, -1); opts[PROMPTPERCENT] = percents; zputs(str, shout); @@ -1726,7 +1726,7 @@ printprompt4(void) opts[XTRACE] = 0; unmetafy(s, &l); s = unmetafy(promptexpand(metafy(s, l, META_NOALLOC), - 0, NULL, NULL), &l); + 0, NULL, NULL, NULL), &l); opts[XTRACE] = t; fprintf(xtrerr, "%s", s); @@ -3275,7 +3275,7 @@ spckword(char **s, int hist, int cmd, int ask) x = 'n'; } else if (shout) { char *pptbuf; - pptbuf = promptexpand(sprompt, 0, best, guess); + pptbuf = promptexpand(sprompt, 0, NULL, best, guess); zputs(pptbuf, shout); free(pptbuf); fflush(shout); |
