Code

Poll mpd twice/second, print a newline when exiting.
authorKalle Wallin <kaw@linux.se>
Tue, 13 Apr 2004 18:49:17 +0000 (18:49 +0000)
committerKalle Wallin <kaw@linux.se>
Tue, 13 Apr 2004 18:49:17 +0000 (18:49 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@733 09075e82-0dd4-0310-85a5-a0d7c8717e4f

main.c

diff --git a/main.c b/main.c
index 8538636097e1bb8965e1c3e10c6019853b11d857..6d4bd345ed2ccd1498f140a04a745031f154bcce 100644 (file)
--- a/main.c
+++ b/main.c
@@ -14,7 +14,7 @@
 #include "conf.h"
 
 /* time in seconds between mpd updates (double) */
-#define MPD_UPDATE_TIME        1.0
+#define MPD_UPDATE_TIME        0.5
 
 /* timout in seconds before trying to reconnect (int) */
 #define MPD_RECONNECT_TIMEOUT  3
@@ -27,6 +27,7 @@ void
 exit_and_cleanup(void)
 {
   screen_exit();
+  printf("\n");
   charset_close();
   if( mpc )
     {