]> git.notmuchmail.org Git - notmuch/commit
notmuch-new: Only print the regular progress report when on a tty
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Nov 2009 00:44:32 +0000 (00:44 +0000)
committerCarl Worth <cworth@cworth.org>
Sun, 22 Nov 2009 04:36:39 +0000 (05:36 +0100)
commit018ca890a3e6ca1cb1068fd789674e475c4a285f
treeb4e16080361707ba0c3d7329a3bf60ac29bbbcc3
parent986f6c98244610da6bba88d0c92895b9758973ee
notmuch-new: Only print the regular progress report when on a tty

Check that the stdout is connected to an interactive terminal with
isatty() before installing the periodic timer to print progress reports.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
notmuch-new.c