Skip to content

Commit

Permalink
Actually set the termios on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Jul 28, 2024
1 parent 3fc5f32 commit 565199e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ internal object SyscallHandlerJnaMacos : SyscallHandlerJvmPosix() {
nativeTermios.c_cflag.setValue(termios.cflag.toLong())
nativeTermios.c_lflag.setValue(termios.lflag.toLong())
termios.cc.copyInto(nativeTermios.c_cc)
libC.tcsetattr(STDIN_FILENO, TCSANOW, nativeTermios)
}
}

Expand Down

0 comments on commit 565199e

Please sign in to comment.