diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-04-20 21:21:53 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-04-20 21:21:53 +0200 |
commit | 3adafe80e90c14712ab94d67ec0627f45e787ec3 (patch) | |
tree | ae372b62258c773b55e0f4a12ceb123f0cfe06bf | |
parent | 27ed89fa00083a9b2912c01447f684095e3349ad (diff) | |
download | pianobar-windows-3adafe80e90c14712ab94d67ec0627f45e787ec3.tar.gz pianobar-windows-3adafe80e90c14712ab94d67ec0627f45e787ec3.tar.bz2 pianobar-windows-3adafe80e90c14712ab94d67ec0627f45e787ec3.zip |
Show small hint about keybinding help at startup
See bug #23
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -74,8 +74,6 @@ int main (int argc, char **argv) { /* terminal attributes _before_ we started messing around with ~ECHO */ struct termios termOrig; - BarUiMsg (MSG_NONE, "Welcome to " PACKAGE "!\n"); - /* save terminal attributes, before disabling echoing */ BarTermSave (&termOrig); @@ -92,6 +90,9 @@ int main (int argc, char **argv) { BarSettingsInit (&settings); BarSettingsRead (&settings); + BarUiMsg (MSG_NONE, "Welcome to " PACKAGE "! Press %c for a list of commands.\n", + settings.keys[BAR_KS_HELP]); + /* init fds */ FD_ZERO(&readSet); selectFds[0] = fileno (stdin); |