MCPcopy Create free account
hub / github.com/coder/coder / makeInputRaw

Function makeInputRaw

pty/terminal_other.go:11–19  ·  view source on GitHub ↗

nolint:revive

(fd uintptr)

Source from the content-addressed store, hash-verified

9
10//nolint:revive
11func makeInputRaw(fd uintptr) (*TerminalState, error) {
12 s, err := term.MakeRaw(int(fd))
13 if err != nil {
14 return nil, err
15 }
16 return &TerminalState{
17 state: s,
18 }, nil
19}
20
21//nolint:revive
22func makeOutputRaw(_ uintptr) (*TerminalState, error) {

Callers 1

MakeInputRawFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected