From 84936b832f7a2ec1d4b98aad4eb285087a1a2708 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 13 Jul 2023 06:03:48 +0000 Subject: Use 8 for underscore colour defaults instead of 0 which is less confusing, and fix writing tge default colour. GitHub issue 3627. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index ee31b7e1..5f2cac46 100644 --- a/input.c +++ b/input.c @@ -2186,7 +2186,7 @@ input_csi_dispatch_sgr(struct input_ctx *ictx) gc->attr &= ~GRID_ATTR_OVERLINE; break; case 59: - gc->us = 0; + gc->us = 8; break; case 90: case 91: -- cgit v1.2.3