diff options
author | Geert Hauwaerts <geert@hauwaerts.be> | 2014-07-06 22:23:17 +0200 |
---|---|---|
committer | Geert Hauwaerts <geert@hauwaerts.be> | 2014-07-06 22:23:17 +0200 |
commit | 8c1e7d9c176f060a36084a40f074e220753a6210 (patch) | |
tree | f14f76cf8bcf847101fb021ecf7cf56f368c7d1a /src/fe-text/irssi.c | |
parent | 2ff95c0649a95d2b6370eb6eae4f7a95db770ad4 (diff) | |
download | irssi-8c1e7d9c176f060a36084a40f074e220753a6210.zip |
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.
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 2f2f37d5..3161fc60 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -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); } } |