From 38fc42f03d89693fc7e3951fd7257d394f417a6f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 17 Aug 2018 14:00:08 -0400 Subject: Add UI "heat" for status/messages/pings Bring back the beeps! Allow pings from notices. Also factor out dequoting of part/quit messages. --- input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 997c570..cb0a12c 100644 --- a/input.c +++ b/input.c @@ -40,7 +40,7 @@ static void privmsg(struct Tag tag, bool action, const char *mesg) { static char *param(const char *command, char **params, const char *name) { char *param = strsep(params, " "); if (param) return param; - uiFmt(TAG_STATUS, "%s requires a %s", command, name); + uiFmt(TAG_STATUS, UI_WARM, "%s requires a %s", command, name); return NULL; } @@ -123,7 +123,7 @@ static void inputView(struct Tag tag, char *params) { if (tag.id != TAG_NONE.id) { uiViewTag(tag); } else { - uiFmt(TAG_STATUS, "No view for %s", view); + uiFmt(TAG_STATUS, UI_WARM, "No view for %s", view); } } } @@ -178,7 +178,7 @@ void input(struct Tag tag, char *input) { COMMANDS[i].handler(tag, input); return; } - uiFmt(TAG_STATUS, "%s isn't a recognized command", command); + uiFmt(TAG_STATUS, UI_WARM, "%s isn't a recognized command", command); } void inputTab(void) { -- cgit 1.4.1