cli

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DA1_RESPONSE   = regexp.MustCompile("\x1b\\[\\?64;*(\\d+;?)*c")
	KITTY_RESPONSE = regexp.MustCompile("\x1b\\[\\?\\d+u")
)

Functions

func Attach

func Attach(
	ctx context.Context,
	stream mux.Stream,
	in, out *os.File,
) error

Attach connects a mux.Stream to a tty defined by `in` and `out`, which are typically `os.Stdin` and `os.Stdout`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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