summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 3617110..65f5bfd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -81,6 +81,7 @@ int main (int argc, char **argv) {
BarTermSave (&termOrig);
BarTermSetEcho (0);
+ BarTermSetBuffer (0);
/* init some things */
ao_initialize ();
PianoInit (&ph);
@@ -114,7 +115,6 @@ int main (int argc, char **argv) {
BarUiMsg (MSG_QUESTION, "Password: ");
BarReadlineStr (passBuf, sizeof (passBuf), 1, stdin);
settings.password = strdup (passBuf);
- BarUiMsg (MSG_NONE, "\n");
}
if (settings.enableScrobbling) {
@@ -130,8 +130,6 @@ int main (int argc, char **argv) {
sizeof (ph.waith.proxyPort), tmpPath, sizeof (tmpPath));
}
- BarTermSetBuffer (0);
-
BarUiMsg (MSG_INFO, "Login... ");
if (BarUiPrintPianoStatus (PianoConnect (&ph, settings.username,
settings.password)) !=