Skip to content

Commit

Permalink
Update term_linux.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kavita-rane2 authored Nov 13, 2024
1 parent 7a56ea7 commit 2fa0e6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readline/term_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2fa0e6c

Please sign in to comment.