about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-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 d982b22ce..651a22b68 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1069,6 +1069,8 @@ compprintfmt(char *fmt, int n, int dopr, int doesc, int ml, int *stop)
 		    return mlprinted;
 		}
 	    }
+	    else
+		p += len;
 	}
     }
     if (dopr) {