Merge branch '2.2.0' of tasktools.org:task into 2.2.0

This commit is contained in:
Johannes Schlatow
2013-03-07 02:47:04 +01:00
4 changed files with 5 additions and 3 deletions

View File

@@ -676,7 +676,7 @@ void Context::clear ()
// this output?'.
void Context::updateXtermTitle ()
{
if (config.getBoolean ("xterm.title"))
if (config.getBoolean ("xterm.title") && isatty (fileno (stdout)))
{
std::string command;
a3.find_command (command);