diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -103,7 +103,8 @@ static void BarMainGetLoginCredentials (BarSettings_t *settings, char passBuf[100]; BarUiMsg (settings, MSG_QUESTION, "Password: "); BarReadlineStr (passBuf, sizeof (passBuf), input, BAR_RL_NOECHO); - write (STDIN_FILENO, "\n", 1); + /* write missing newline */ + puts (""); settings->password = strdup (passBuf); } } |