gimmepassword: only output newline if terminal