aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util.rs b/src/util.rs
index 2b3580e..09d8c11 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -37,12 +37,3 @@ pub fn size() -> (uint, uint) {
extern mod termios_wrapper {
fn size(cols: *c_uint, rows: *c_uint);
}
-
-pub fn isatty() -> bool {
- unsafe { c_isatty(0) as bool }
-}
-
-extern {
- #[link_name = "isatty"]
- fn c_isatty(fd: c_int) -> c_int;
-}