Context
- Eliminated call to A3::list.
This commit is contained in:
@@ -765,9 +765,16 @@ void Context::updateXtermTitle ()
|
|||||||
{
|
{
|
||||||
std::string command = parser.getCommand ();
|
std::string command = parser.getCommand ();
|
||||||
std::string title;
|
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 << "";
|
std::cout << "]0;task " << command << " " << title << "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user