diff options
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"); } |