|
|
|
@ -171,6 +171,8 @@ NC::Window &Statusbar::put() |
|
|
|
void Statusbar::print(int delay, const std::string &message) |
|
|
|
void Statusbar::print(int delay, const std::string &message) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (statusbar_allow_unlock) |
|
|
|
if (statusbar_allow_unlock) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if(delay) |
|
|
|
{ |
|
|
|
{ |
|
|
|
statusbar_lock_time = Global::Timer; |
|
|
|
statusbar_lock_time = Global::Timer; |
|
|
|
statusbar_lock_delay = boost::posix_time::seconds(delay); |
|
|
|
statusbar_lock_delay = boost::posix_time::seconds(delay); |
|
|
|
@ -180,6 +182,7 @@ void Statusbar::print(int delay, const std::string &message) |
|
|
|
progressbar_block_update = true; |
|
|
|
progressbar_block_update = true; |
|
|
|
wFooter->goToXY(0, Config.statusbar_visibility); |
|
|
|
wFooter->goToXY(0, Config.statusbar_visibility); |
|
|
|
*wFooter << message << NC::TermManip::ClearToEOL; |
|
|
|
*wFooter << message << NC::TermManip::ClearToEOL; |
|
|
|
|
|
|
|
} |
|
|
|
wFooter->refresh(); |
|
|
|
wFooter->refresh(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|