From ab4c4dee76b99f0a454bcf0fdd877cf7fdb2dbc4 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <calcurse@cryptocrack.de>
Date: Wed, 13 Jul 2011 15:16:45 +0200
Subject: Remove artificial delay when saving data

This doesn't contribute to functionality or usability in any way. Keep
the progress bar option but only show bars as long as the actual save
operation is in progress.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
---
 src/io.c | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'src')

diff --git a/src/io.c b/src/io.c
index 09c2934..860d7ee 100644
--- a/src/io.c
+++ b/src/io.c
@@ -136,7 +136,6 @@ static char *ical_recur_type[RECUR_TYPES] =
 static void
 progress_bar (progress_bar_t type, int progress)
 {
-#define SLEEPTIME	125000
 #define NBFILES		4
 #define NBEXPORTED      3
 #define LABELENGTH      15
@@ -194,8 +193,6 @@ progress_bar (progress_bar_t type, int progress)
   custom_remove_attr (win[STA].p, ATTR_HIGHEST);
   wmove (win[STA].p, 0, 0);
   wins_wrefresh (win[STA].p);
-  (void)usleep (SLEEPTIME);
-#undef SLEEPTIME
 #undef NBFILES
 #undef NBEXPORTED
 #undef LABELENGTH
-- 
cgit v1.2.3-70-g09d2