Allow the sidebar to automatically refresh after the amount of time
specified via the "timeout" variable.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
mailbox->sb_last_checked = time (NULL);
closedir (dirp);
+
+ /* make sure the updates are actually put on screen */
+ sb_draw();
}
#endif
mailbox->sb_last_checked = time (NULL);
mx_close_mailbox (ctx, 0);
}
+
+ /* make sure the updates are actually put on screen */
+ sb_draw();
}
#endif
}
#endif
+ /* update sidebar stats */
+ mutt_buffy_check(0);
+
timeout (i * 1000);
tmp = mutt_getch();
timeout (-1);