From f6bc949c05fd18ee557a89c92f82ff556200707d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc=20Cornell=C3=A0?= <marc.cornella@live.com>
Date: Sun, 2 Aug 2020 20:48:53 +0200
Subject: [PATCH] lib: substitute COMPLETION_WAITING_DOTS for ellipsis

Closes #8342
---
 lib/completion.zsh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lib/completion.zsh b/lib/completion.zsh
index 43927a277..47a4ed60f 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -60,11 +60,7 @@ zstyle '*' single-ignored show
 
 if [[ $COMPLETION_WAITING_DOTS = true ]]; then
   expand-or-complete-with-dots() {
-    # toggle line-wrapping off and back on again
-    [[ -n "$terminfo[rmam]" && -n "$terminfo[smam]" ]] && echoti rmam
-    print -Pn "%{%F{red}......%f%}"
-    [[ -n "$terminfo[rmam]" && -n "$terminfo[smam]" ]] && echoti smam
-
+    print -Pn "%F{red}…%f"
     zle expand-or-complete
     zle redisplay
   }
-- 
2.21.0