diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 6 | ||||
-rw-r--r-- | src/ui/ui.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 314810b1..96ac621d 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -2257,6 +2257,12 @@ ui_clear_win_title(void) } void +ui_goodbye_title(void) +{ + printf("%c]0;Thanks for using Profanity%c", '\033', '\007'); +} + +void ui_statusbar_new(const int win) { status_bar_new(win); diff --git a/src/ui/ui.h b/src/ui/ui.h index e7b46766..4f78974c 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -190,6 +190,7 @@ void ui_handle_recipient_not_found(const char * const recipient, const char * co void ui_handle_recipient_error(const char * const recipient, const char * const err_msg); void ui_handle_error(const char * const err_msg); void ui_clear_win_title(void); +void ui_goodbye_title(void); void ui_handle_room_join_error(const char * const roomjid, const char * const err); void ui_handle_room_configuration(const char * const roomjid, DataForm *form); void ui_handle_room_configuration_form_error(const char * const roomjid, const char * const message); |