From: NeilBrown Date: Wed, 21 Jun 2023 07:53:03 +0000 (+1000) Subject: lib-renderline: make control chars stand out more. X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=e580c6755e4ce08baa26822fd2570881925049ef;p=edlib.git lib-renderline: make control chars stand out more. Conrtol chars should not appear in the line given to lib-renderline. We try to handle them, but let us make them much more obvious so they look wrong as well as being wrong. Signed-off-by: NeilBrown --- diff --git a/lib-renderline.c b/lib-renderline.c index d238bf0f..093914b8 100644 --- a/lib-renderline.c +++ b/lib-renderline.c @@ -988,7 +988,7 @@ DEF_CMD(renderline) buf[1] = ch + '@'; buf[2] = 0; b = buf+2; - buf_concat(&attr, ",underline,fg:red,"); + buf_concat(&attr, ",inverse,fg:red,"); in_lws = False; ret = draw_some(p, focus, &rlst, &x, buf, &b, buf_final(&attr), in_lws,