options

package
v0.0.0-...-ee9ec53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenTerm

func OpenTerm(dev string, options ...func(t *term.Term) error) (*term.Term, error)

Term (improved)

func RewMode

func RewMode(t *term.Term) error

RewMode places the terminal into raw mode.

func Speed

func Speed(baud int) func(tt *term.Term) error

Speed sets the baud rate option for the terminal Speed自己需要一个参数,所以它返回了一个func

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL