]> git.lyx.org Git - features.git/blobdiff - src/support/os_cygwin.cpp
Allow to separately redirect stdout and stderr.
[features.git] / src / support / os_cygwin.cpp
index 840a11ccc17e9df1d51614560887a25b0f2743e1..068d7035d685c373f10f16e92b8fd3442194bbc2 100644 (file)
@@ -254,9 +254,9 @@ string const & stderrdev()
 }
 
 
-bool terminal_output()
+bool is_terminal(io_channel channel)
 {
-       return isatty(1) && isatty(2);
+       return isatty(channel);
 }