Skip to content

Commit 9601884

Browse files
committed
Fix terminal window size for DragonFly
1 parent a0105b9 commit 9601884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/term.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mod c {
1616
#[cfg(any(target_os = "linux", target_os = "android"))]
1717
static TIOCGWINSZ: c_ulong = 0x5413;
1818

19-
#[cfg(any(target_os = "macos", target_os = "ios"))]
19+
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "dragonfly"))]
2020
static TIOCGWINSZ: c_ulong = 0x40087468;
2121

2222
extern {

0 commit comments

Comments
 (0)