This commit is contained in:
Lars Erik Jordet 2026-04-22 23:03:33 -05:00 committed by GitHub
commit 0d0d3662bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,11 +5,12 @@ package readline
import (
"syscall"
"unsafe"
"golang.org/x/sys/unix"
)
const (
tcgets = 0x5401
tcsets = 0x5402
tcgets = unix.TCGETS
tcsets = unix.TCSETSF
)
func getTermios(fd uintptr) (*Termios, error) {