mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
Merge a473cc5e23 into 160660e572
This commit is contained in:
commit
0d0d3662bd
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue