Skip to content

Commit 3f45ec7

Browse files
committed
Notify on feed refresh.
1 parent 4c6e0b4 commit 3f45ec7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Handler.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ bool Handler::Initialize( ini_t* config )
5252

5353
bool Handler::Fetch( bool first )
5454
{
55+
if( !first )
56+
{
57+
std::lock_guard lock( m_stdoutLock );
58+
printf( BOLDWHITE " [" YELLOW "i" BOLDWHITE "] " BOLDMAGENTA "%s" RESET " Feed refresh\n", m_unit );
59+
fflush( stdout );
60+
}
5561
const auto status = FetchImpl( first );
5662
if( status )
5763
{

0 commit comments

Comments
 (0)