about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 96f722a..b0f95aa 100644
--- a/ui.c
+++ b/ui.c
@@ -481,15 +481,18 @@ static void inputUpdate(void) {
 	const char *pre = "";
 	const char *suf = " ";
 	struct Style style = { .fg = self.color, .bg = Default };
+	struct Style reset = Reset;
 	if (NULL != (skip = commandIsPrivmsg(id, head))) {
 		pre = "<";
 		suf = "> ";
 	} else if (NULL != (skip = commandIsNotice(id, head))) {
 		pre = "-";
 		suf = "- ";
+		reset.fg = LightGray;
 	} else if (NULL != (skip = commandIsAction(id, head))) {
 		style.attr |= A_ITALIC;
 		pre = "* ";
+		reset.attr |= A_ITALIC;
 	} else if (id == Debug) {
 		skip = head;
 		style.fg = Gray;
@@ -510,7 +513,7 @@ static void inputUpdate(void) {
 		if (nick) waddstr(input, nick);
 		waddstr(input, suf);
 	}
-	style.fg = Default;
+	style = reset;
 	inputAdd(&style, (skip ? skip : head));
 	getyx(input, y, x);
 	inputAdd(&style, editTail());
ref='/libretls/commit/man/Makefile.am?h=3.5.2&id=848415c396a2d1742d33fa565e7dff4e76fc178d&follow=1'>Import LibreSSL 3.3.3June McEnroe 2021-04-18build: Remove added x509_verify.3 links 3.3.2June McEnroe 2021-04-18tls: Use EC_KEY_set_ex_dataJune McEnroe 2021-04-18Import LibreSSL 3.3.2June McEnroe 2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe