fix: resolve compatibility issues with BSD
Merged
MA
1mo ago+11+11+01234567890123456789-2-2-0123456789
Summary by cubic
Fixes compatibility issues with BSD by passing mutable references to libc::openpty, which BSD expects for the termios and winsize arguments.