aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-13 15:16:45 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-14 18:23:31 +0200
commitab4c4dee76b99f0a454bcf0fdd877cf7fdb2dbc4 (patch)
tree69034ef2a20970620b3747573887cacc0a4582f0
parent160f12687e3eec7ebc12869504b614344370b771 (diff)
downloadcalcurse-ab4c4dee76b99f0a454bcf0fdd877cf7fdb2dbc4.tar.gz
calcurse-ab4c4dee76b99f0a454bcf0fdd877cf7fdb2dbc4.zip
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>
-rw-r--r--src/io.c3
1 files changed, 0 insertions, 3 deletions
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