From ce63279994d5e877d24bcdd49c68a52dfff46b40 Mon Sep 17 00:00:00 2001 From: saeedark Date: Thu, 9 Oct 2025 17:28:31 +0330 Subject: [PATCH] fix: wrong ctx for underline --- extract.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extract.c b/extract.c index 5b5b5ebc..ed4072c1 100644 --- a/extract.c +++ b/extract.c @@ -391,9 +391,7 @@ add_rich_diff(struct extraction_context *ctx, struct attributes attrs, const str ctx->buf[ctx->idx++] = U':'; ctx->buf[ctx->idx++] = U'1'; - ctx->underline_style = 0; - ctx->un = 0; - ctx->un_src = 0; + ctx->underline_style = UNDERLINE_SINGLE; } } else { if (!init_x1b(&x1b, ctx))