OutNormal::~OutNormal()
{
-
+
}
bool OutNormal::mine(Type type)
if (verbosity() < NORMAL)
return;
- static AliveCursor cursor;
if (isatty(STDOUT_FILENO))
- cout << CLEARLN << ++cursor << " " << _("Retrieving:") << " ";
- else
- cout << _("Retrieving:") << " ";
+ cout << CLEARLN;
+ cout << _("Retrieving:") << " ";
if (verbosity() == DEBUG)
cout << uri; //! \todo shorten to fit the width of the terminal
else
void OutNormal::dwnldProgress(const zypp::Url & uri,
int value,
- long rate)
+ long rate)
{
if (verbosity() < NORMAL)
return;
it != poptions.options().end(); ++it, ++pos)
{
cout << *it << " - ";
- const string & hs_r = poptions.optionHelp(pos);
+ const string & hs_r = poptions.optionHelp(pos);
if (hs_r.empty())
cout << "(" << _("no help available for this option") << ")";
else