diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-03-19 22:19:42 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-03-19 22:19:42 -0500 |
commit | 6f9cd4b4e3d8e4078f42213fe8a4947b2369bda0 (patch) | |
tree | 79ee21da7a6fdc23f0b97947fe25a1e479301447 /src | |
parent | 6d0865c6e92b86f48e42d67822592cb77441d9bd (diff) | |
download | rust-term-6f9cd4b4e3d8e4078f42213fe8a4947b2369bda0.tar.gz rust-term-6f9cd4b4e3d8e4078f42213fe8a4947b2369bda0.zip |
actually, who uses this
Diffstat (limited to 'src')
-rw-r--r-- | src/ios.rs | 5 | ||||
-rw-r--r-- | src/termios_wrapper.c | 4 |
2 files changed, 0 insertions, 9 deletions
@@ -6,7 +6,6 @@ extern mod c { fn cbreak () -> c_int; fn raw () -> c_int; fn echo (enable: c_int) -> c_int; - fn crlf (enable: c_int) -> c_int; } pub fn cooked () -> bool { @@ -24,7 +23,3 @@ pub fn raw () -> bool { pub fn echo (enable: bool) -> bool { unsafe { c::echo(enable as c_int) as bool } } - -pub fn crlf (enable: bool) -> bool { - unsafe { c::crlf(enable as c_int) as bool } -} diff --git a/src/termios_wrapper.c b/src/termios_wrapper.c index 6a752e8..1c6dd70 100644 --- a/src/termios_wrapper.c +++ b/src/termios_wrapper.c @@ -29,7 +29,3 @@ int echo(int enabled) return tcsetattr(0, TCSANOW, &t) == 0; } - -int crlf(int enabled) -{ -} |