degesch: don't wrap lines in pager

This commit is contained in:
Přemysl Eric Janouch 2016-03-26 16:41:55 +01:00
parent 550a0419a6
commit f964495d1a

View File

@ -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;