aboutsummaryrefslogtreecommitdiff
path: root/slave.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-20 15:51:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-20 15:51:04 +0000
commitb75bd6507a970520784791a6ff6beb1cf771077b (patch)
tree016daea9fd7d0a855e8c176d56d4cbdf82f2fb07 /slave.c
parentMerge branch 'irc-update' (diff)
notifications: use \e[22m to disable bold
\e[21m was previously used to disable bold. That changed a while ago, to align foot with the majority of other terminal emulators. \e[22m now disables both bold and dim. When this change was done, the user notifications were not updated, meaning the ‘message’ part was always in bold. This was never the intended behavior.
Diffstat (limited to 'slave.c')
-rw-r--r--slave.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/slave.c b/slave.c
index 0740d6ae..6a431d02 100644
--- a/slave.c
+++ b/slave.c
@@ -79,15 +79,15 @@ emit_one_notification(int fd, const struct user_notification *notif)
switch (notif->kind) {
case USER_NOTIFICATION_DEPRECATED:
- prefix = "\033[33;1mdeprecated\033[39;21m: ";
+ prefix = "\033[33;1mdeprecated\033[39;22m: ";
break;
case USER_NOTIFICATION_WARNING:
- prefix = "\033[33;1mwarning\033[39;21m: ";
+ prefix = "\033[33;1mwarning\033[39;22m: ";
break;
case USER_NOTIFICATION_ERROR:
- prefix = "\033[31;1merror\033[39;21m: ";
+ prefix = "\033[31;1merror\033[39;22m: ";
break;
}