1
Description: prevent sleep() when redirecting output
2
Calling "ssr-foo -V" will do a little animation using sleep().
3
While this is nice in an interactive session, it is rather annoying when called
4
from batch-scripts. We use "isatty()" to determine whether the output is
5
redirected, and only sleep() in an interactive shell.
6
Author: IOhannes m zmölnig
7
Bug: https://github.com/SoundScapeRenderer/ssr/issues/13
8
Forwarded: https://github.com/SoundScapeRenderer/ssr/issues/13
9
Last-Update: 2014-03-10
11
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
12
--- soundscaperenderer.orig/src/configuration.cpp
13
+++ soundscaperenderer/src/configuration.cpp
16
std::cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
17
" It's ... " << std::flush;