mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:43:02 +01:00
/status: give feedback to user on status change
This commit is contained in:
parent
1bfc1ba371
commit
a9f7f85617
@ -655,6 +655,9 @@ void cmd_status(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[
|
|||||||
msg[len] = '\0';
|
msg[len] = '\0';
|
||||||
|
|
||||||
prompt_update_statusmessage(prompt, m, msg);
|
prompt_update_statusmessage(prompt, m, msg);
|
||||||
|
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Your status has been changed to %s: \"%s\".", status_str, msg);
|
||||||
|
} else {
|
||||||
|
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Your status has been changed to %s.", status_str);
|
||||||
}
|
}
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
|
Loading…
Reference in New Issue
Block a user