diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-03-09 10:13:01 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-03-09 10:13:01 +0100 |
commit | 9d753bf7f9ee0e2b56be5b13b7e6f26f11938235 (patch) | |
tree | aaa580f6b010d88ab1f03ac03a488b3af956f317 /src/main.c | |
parent | 0c6860fdf282e871a11f7a859e672231455dd94c (diff) | |
download | pianobar-9d753bf7f9ee0e2b56be5b13b7e6f26f11938235.tar.gz pianobar-9d753bf7f9ee0e2b56be5b13b7e6f26f11938235.tar.bz2 pianobar-9d753bf7f9ee0e2b56be5b13b7e6f26f11938235.zip |
Use icon for questions too
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -80,11 +80,13 @@ int main (int argc, char **argv) { BarSettingsRead (&settings); if (settings.username == NULL) { - settings.username = readline ("Username: "); + BarUiMsg (MSG_QUESTION, "Username: "); + settings.username = readline (NULL); } if (settings.password == NULL) { BarTermSetEcho (0); - settings.password = readline ("Password: "); + BarUiMsg (MSG_QUESTION, "Password: "); + settings.password = readline (NULL); BarTermSetEcho (1); BarUiMsg (MSG_NONE, "\n"); } |