aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
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;