Browse Source

lib: substitute COMPLETION_WAITING_DOTS for ellipsis

Closes #8342
Marc Cornellà 3 years ago
parent
commit
f6bc949c05
1 changed files with 1 additions and 5 deletions
  1. 1 5
      lib/completion.zsh

+ 1 - 5
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
   }