mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Updated the startup banner + added generic banner
I updated the banner displayed when you start Irssi for the first time and I have added a banner that will be displayed everytime you start Irssi.
This commit is contained in:
parent
2ff95c0649
commit
8c1e7d9c17
@ -81,14 +81,24 @@ static int dirty, full_redraw, dummy;
|
||||
static GMainLoop *main_loop;
|
||||
int quitting;
|
||||
|
||||
static const char *banner_text =
|
||||
" ___ _\n"
|
||||
"|_ _|_ _ _____(_)\n"
|
||||
" | || '_(_-<_-< |\n"
|
||||
"|___|_| /__/__/_|\n"
|
||||
"Irssi v" PACKAGE_VERSION " - http://www.irssi.org";
|
||||
|
||||
static const char *firsttimer_text =
|
||||
"Looks like this is the first time you've run irssi.\n"
|
||||
"This is just a reminder that you really should go read\n"
|
||||
"startup-HOWTO if you haven't already. You can find it\n"
|
||||
"and more irssi beginner info at http://www.irssi.org\n"
|
||||
"\n"
|
||||
"For the truly impatient people who don't like any automatic\n"
|
||||
"window creation or closing, just type: /MANUAL-WINDOWS";
|
||||
"- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n"
|
||||
"Hi there! If this is your first time using Irssi, you\n"
|
||||
"might want to go to our website and read the startup\n"
|
||||
"documentation to get you going.\n\n"
|
||||
"Our community and staff are available to assist you or\n"
|
||||
"to answer any questions you may have.\n\n"
|
||||
"Use the HELP command to get detailed information about\n"
|
||||
"the available commands.\n"
|
||||
"- - - - - - - - - - - - - - - - - - - - - - - - - - - -";
|
||||
|
||||
static int display_firsttimer = FALSE;
|
||||
|
||||
|
||||
@ -194,8 +204,11 @@ static void textui_finish_init(void)
|
||||
fe_common_core_finish_init();
|
||||
signal_emit("irssi init finished", 0);
|
||||
|
||||
printtext_window(active_win, MSGLEVEL_CRAP,
|
||||
"%s", banner_text);
|
||||
|
||||
if (display_firsttimer) {
|
||||
printtext_window(active_win, MSGLEVEL_CLIENTNOTICE,
|
||||
printtext_window(active_win, MSGLEVEL_CRAP,
|
||||
"%s", firsttimer_text);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user