void display_tick (const string& s) {
static AliveCursor cursor;
-
- cout_v << CLEARLN << cursor++ << " " << s;
+ cursor++;
+ cout_v << CLEARLN << cursor << " " << s;
cout_v << flush;
}
manager.buildCache(repo);
}
// TranslatorExplanation speaking of a repository
- cout_n << format(_("Reading repository %s...")) % repo.alias() << flush;
+ //cout_n << format(_("Reading repository %s...")) % repo.alias() << flush;
repository = manager.createFromCache(repo);
ResStore store = repository.resolvables();
{
void tick( const zypp::ProgressData &data )
{
+ //std::cout << "TICK!" << std::endl;
if ( data.reportAlive() )
{
display_tick ( data.name() );
}
virtual void start( const zypp::ProgressData &data )
- { tick(data); }
+ {
+ tick(data);
+ }
virtual bool progress( const zypp::ProgressData &data )
{
cout_v << _("Creating repository cache...") << endl;
manager.buildCache(repo);
- cout_n << _("DONE") << endl << endl;
+ //cout_n << _("DONE") << endl << endl;
}
catch ( const Exception &e )
{