- Eliminated call to A3::list.
This commit is contained in:
Paul Beckingham 2014-05-25 19:50:50 -04:00
parent f87d7bd94a
commit 4b12c87c40

View file

@ -765,9 +765,16 @@ void Context::updateXtermTitle ()
{
std::string command = parser.getCommand ();
std::string title;
Tree* tree = parser.tree ();
std::vector <Tree*>::iterator i;
for (i = tree->_branches.begin (); i != tree->_branches.end (); ++i)
{
if (i != tree->_branches.begin ())
title += ' ';
title += (*i)->attribute ("raw");
}
// TODO Obsolete.
join (title, " ", a3.list ());
std::cout << "]0;task " << command << " " << title << "";
}
}