From 2bbc57c3c4ed4c54cd9f0fcab48b17a1d57a5823 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 29 Dec 2022 20:41:55 -0700 Subject: [PATCH] [chafa] Residual --- util/helper-cairo-ansi.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/helper-cairo-ansi.hh b/util/helper-cairo-ansi.hh index fc870180c..8bdd1da24 100644 --- a/util/helper-cairo-ansi.hh +++ b/util/helper-cairo-ansi.hh @@ -119,7 +119,7 @@ chafa_print_image_rgb24 (const void *data, int width, int height, int stride, in write_func (closure, (const unsigned char *) gs->str, gs->len); if (pixel_mode != CHAFA_PIXEL_MODE_SIXELS) - fputc ('\n', stdout); + write_func (closure, (const unsigned char *) "\n", 1); /* Free resources */