From f964495d1ac6587f04a3e2d216af512e240c8bed Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 26 Mar 2016 16:41:55 +0100
Subject: degesch: don't wrap lines in pager
---
degesch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/degesch.c b/degesch.c
index 7b83dd4..ed55e24 100644
--- a/degesch.c
+++ b/degesch.c
@@ -3553,7 +3553,7 @@ formatter_flush (struct formatter *self, FILE *stream, bool raw_attributes)
return;
}
- if (self->ctx->word_wrapping)
+ if (get_attribute_printer (stream) && self->ctx->word_wrapping)
line = line_wrap (line, g_terminal.columns);
// TODO: rewrite the sloppily hacked mess around attribute_printer;
--
cgit v1.2.3-70-g09d2