summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Src/Zle/zle_tricky.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 50f3088c6..8df0fac2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-13  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 23172: Src/Zle/zle_tricky.c: typo fixing line wrapping
+	in completion displays caused too many lines in multiline
+	explanation strings.
+
 2007-02-13  Peter Stephenson  <pws@csr.com>
 
 	* 23168: Src/Modules/tcp.c: error when failing to bind
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 72d72d54f..68e104370 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -2247,7 +2247,8 @@ printfmt(char *fmt, int n, int dopr, int doesc)
 		}
 		l += 1 + ((cc - 1) / columns);
 		cc = 0;
-		putc('\n', shout);
+		if (dopr)
+		    putc('\n', shout);
 		p++;
 	    } else {
 		convchar_t cchar;