Merge remote-tracking branch 'incertia/exit-title'

Conflicts:
	src/command/command.c
	src/config/preferences.c
	src/config/preferences.h
This commit is contained in:
James Booth
2015-01-12 01:12:42 +00:00
11 changed files with 45 additions and 8 deletions

View File

@@ -2301,6 +2301,13 @@ ui_clear_win_title(void)
printf("%c]0;%c", '\033', '\007');
}
void
ui_goodbye_title(void)
{
int result = system("/bin/echo -ne \"\033]0;Thanks for using Profanity\007\"");
if(result == -1) log_error("Error printing title on shutdown");
}
void
ui_statusbar_new(const int win)
{