summaryrefslogtreecommitdiffstats
path: root/src/term.rs
diff options
context:
space:
mode:
authorMichael Neumann <mneumann@ntecs.de>2015-06-17 02:13:53 +0200
committerMichael Neumann <mneumann@ntecs.de>2015-06-17 02:13:53 +0200
commit96018841f64dd0a7d0da72e7d80a69192c76864f (patch)
tree9e90e31b031e2df72678670e0eebe949745e5731 /src/term.rs
parenta0105b951dca33abfb4f16dfd144785e3e458e3a (diff)
Fix terminal window size for DragonFly
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs
index 7f69b54..15b9b0d 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -16,7 +16,7 @@ mod c {
#[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", target_os = "dragonfly"))]
static TIOCGWINSZ: c_ulong = 0x40087468;
extern {