f6bc949c05fd18ee557a89c92f82ff556200707d
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
lib: substitute COMPLETION_WAITING_DOTS for ellipsis
Closes #8342
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index 43927a277be704063af48973d3a95fa90dee32e0..47a4ed60f913f1278b5c734e901ab001d09db5db 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -60,11 +60,7 @@ zstyle '*' single-ignored show
6
7 if [[ $COMPLETION_WAITING_DOTS = true ]]; then
8 expand-or-complete-with-dots() {
9- # toggle line-wrapping off and back on again
10- [[ -n "$terminfo[rmam]" && -n "$terminfo[smam]" ]] && echoti rmam
11- print -Pn "%{%F{red}......%f%}"
12- [[ -n "$terminfo[rmam]" && -n "$terminfo[smam]" ]] && echoti smam
13-
14+ print -Pn "%F{red}…%f"
15 zle expand-or-complete
16 zle redisplay
17 }