fix: resolve compatibility issues with BSD

Merged
MA
1mo ago
+11-2

Summary by cubic

Fixes compatibility issues with BSD by passing mutable references to libc::openpty, which BSD expects for the termios and winsize arguments.