type github.com/charmbracelet/x/term.State
17 uses
github.com/charmbracelet/x/term (current package)
term.go#L6: type State struct {
term.go#L18: func MakeRaw(fd uintptr) (*State, error) {
term.go#L24: func GetState(fd uintptr) (*State, error) {
term.go#L29: func SetState(fd uintptr, state *State) error {
term.go#L35: func Restore(fd uintptr, oldState *State) error {
term_unix.go#L19: func makeRaw(fd uintptr) (*State, error) {
term_unix.go#L25: oldState := State{state{Termios: *termios}}
term_unix.go#L43: func setState(fd uintptr, state *State) error {
term_unix.go#L51: func getState(fd uintptr) (*State, error) {
term_unix.go#L57: return &State{state{Termios: *termios}}, nil
term_unix.go#L60: func restore(fd uintptr, state *State) error {
github.com/charmbracelet/ultraviolet
console.go#L55: MakeRaw() (state *term.State, err error)
console.go#L84: inputState *term.State
console.go#L86: outputState *term.State
console.go#L169: func (t *console) MakeRaw() (state *term.State, err error) {
terminal_unix.go#L11: func makeRaw(inTty, outTty term.File) (inTtyState, outTtyState *term.State, err error) {
terminal_unix.go#L54: func optimizeMovements(state *term.State) (useTabs, useBspace bool) {