summaryrefslogtreecommitdiffstats
path: root/src/term.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2014-11-24 02:12:52 +0000
committerBen S <ogham@bsago.me>2014-11-24 02:13:54 +0000
commit5b7124bb71aa5f7052af3f900c54913a3554c1c5 (patch)
treeaac2d4c9310ce61ca897372976ed24a7cbf443f6 /src/term.rs
parentd72be30c30c0c57375736154fd6b5293cb04d0d8 (diff)
I like aligning things
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/term.rs b/src/term.rs
index d0f52c6..0a3e0c4 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -1,4 +1,3 @@
-
mod c {
#![allow(non_camel_case_types)]
extern crate libc;
@@ -21,11 +20,10 @@ mod c {
// Unfortunately the actual command is not standardised...
- #[cfg(any(target_os = "linux", target_os = "android"))]
-
+ #[cfg(any(target_os = "linux", target_os = "android"))]
static TIOCGWINSZ: c_ulong = 0x5413;
- #[cfg(any(target_os = "macos", target_os = "ios"))]
+ #[cfg(any(target_os = "macos", target_os = "ios"))]
static TIOCGWINSZ: c_ulong = 0x40087468;
extern {