Parcourir la source

Fix terminal window size for DragonFly

Michael Neumann il y a 10 ans
Parent
commit
96018841f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/term.rs

+ 1 - 1
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 {