changeset 11607:15a6c64df84a HEAD

doveadm: Added LF after ^L in pager so that the output is nicer to look at with "less".
author Timo Sirainen <tss@iki.fi>
date Mon, 21 Jun 2010 21:50:31 +0100
parents a3face3fd1d0
children d78370005268
files src/doveadm/doveadm-print-pager.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doveadm/doveadm-print-pager.c	Mon Jun 21 21:48:06 2010 +0100
+++ b/src/doveadm/doveadm-print-pager.c	Mon Jun 21 21:50:31 2010 +0100
@@ -33,7 +33,7 @@
 {
 	if (++ctx->header_idx == array_count(&ctx->headers)) {
 		ctx->header_idx = 0;
-		printf("\x0c"); /* ^L */
+		printf("\x0c\n"); /* ^L */
 	}
 }