From: Kalle Wallin Date: Tue, 13 Apr 2004 18:49:17 +0000 (+0000) Subject: Poll mpd twice/second, print a newline when exiting. X-Git-Tag: v0.12_alpha1~596 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5;p=ncmpc.git Poll mpd twice/second, print a newline when exiting. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@733 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/main.c b/main.c index 8538636..6d4bd34 100644 --- 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 ) {