]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_unix.cpp
an example for the sweave module, prepared by Gregor Gorjanc
[lyx.git] / src / support / os_unix.cpp
index 4bbd76fe1c784773a09da5a4e591d0cbf34e8dba..eb8c1dfa4e3440433002c6ad76538ddd7b4687cd 100644 (file)
@@ -130,6 +130,12 @@ string const & nulldev()
 }
 
 
+bool is_terminal(io_channel channel)
+{
+       return isatty(channel);
+}
+
+
 shell_type shell()
 {
        return UNIX;