From be2c91bbc3361398a18ea4b77d493dded0a60e79 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 10 Jan 2023 21:13:52 +0100 Subject: 51291: support for highlighting ellipses in the line editor --- Src/prompt.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Src/prompt.c') diff --git a/Src/prompt.c b/Src/prompt.c index 4f29a6728..39fcf5eb7 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -1648,6 +1648,9 @@ cleartextattributes(int flags) mod_export void treplaceattrs(zattr newattrs) { + if (newattrs == TXT_ERROR) + return; + if (txtunknownattrs) { /* Set current attributes to the opposite of the new ones * for any that are unknown so that applytextattributes() -- cgit 1.4.1