summaryrefslogtreecommitdiffstats
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2025-11-12 07:44:45 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-12 07:44:45 +0100
commit0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79 (patch)
tree63eb97397cf7f10114ced68f89d24a98f0d22991 /Src/Zle/complist.c
parent54064: avoid crash on named references to argv/ARGC, improve valid_nameref() (diff)
downloadzsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.tar
zsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.tar.gz
zsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.tar.bz2
zsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.tar.lz
zsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.tar.xz
zsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.tar.zst
zsh-0d8b69b9a0ad61b56a8f5a80cc2c6e8d972c4d79.zip
54036: fixes related to prompt attribute leftovers
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 091ad03b1..ea18434a3 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2049,6 +2049,8 @@ complistmatches(UNUSED(Hookdef dummy), Chdata dat)
if (mlistp && !*mlistp)
mlistp = "%SAt %p: Hit TAB for more, or the character to insert%s";
trashzle();
+ treplaceattrs(0); /* complist does it's own attributes so wipe any zle residue */
+ applytextattributes(0);
showinglist = listshown = 0;
lastlistlen = 0;