aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-06-29 19:23:23 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-06-29 19:23:23 +0000
commit1e2f12dd4026f09cfbc3ddc47758c74dfa9b6a3f (patch)
treef9d11366c3b04cc6ceccba28453e6476b9ceca65
parent0abcc993e5af9125f6d1b999d5ef0eb7fc91034e (diff)
downloadpaludis-1e2f12dd4026f09cfbc3ddc47758c74dfa9b6a3f.tar.gz
paludis-1e2f12dd4026f09cfbc3ddc47758c74dfa9b6a3f.tar.xz
Add xterm titles for syncing
-rw-r--r--src/sync.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sync.cc b/src/sync.cc
index 4a7e6b9..2645d88 100644
--- a/src/sync.cc
+++ b/src/sync.cc
@@ -30,6 +30,7 @@
*/
namespace p = paludis;
+using std::cerr;
namespace
{
@@ -40,6 +41,7 @@ namespace
std::cout << colour(cl_heading, "Sync " + p::stringify(r->name())) << std::endl;
try
{
+ cerr << xterm_title("Syncing " + p::stringify(r->name()));
if (r->get_interface<p::repo_syncable>() && r->get_interface<p::repo_syncable>()->sync())
std::cout << "Sync " << r->name() << " completed" << std::endl;
else