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;