diff options
author | Curtis McEnroe | 2018-08-17 14:00:08 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-17 14:00:08 -0400 |
commit | 38fc42f03d89693fc7e3951fd7257d394f417a6f (patch) | |
tree | de58f141248de2f1f25f1272f865495803490f16 /input.c | |
parent | a38738c93885fc177a42b280a328471424fc030a (diff) |
Add UI "heat" for status/messages/pings
Bring back the beeps! Allow pings from notices. Also factor out dequoting of part/quit messages.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |