func NewVT10XConsoleWithOptions(options UIOptions, writers ...io.Writer) (*expect.Console, *vt10x.State, terminal.UI, error) {
	console, state, err := vt10x.NewVT10XConsole(expect.WithStdout(writers...))
	if err != nil {
		return nil, nil, nil, err
	}

	ui := ui{terminal.NewUI(
		newUIConfig(options),
		console.Tty(),
		console.Tty(),
		console.Tty(),
	), options.OpenBrowserFn}

	return console, state, ui, nil
}
// NewVT10XConsoleWithOptions creates a new *expect.Console
// along with its corresponding *vt10.State and mock terminal UI based on the provided options
NewVT10XConsoleWithOptions creates a new *expect.Console
along with its corresponding *vt10.State and mock terminal UI based on the provided options
// NewVT10XConsoleWithOptions creates a new * expect . Console // along with its corresponding * vt10 . State and mock terminal UI based on the provided options
func NewVT10XConsoleWithOptions(options UIOptions, writers ...io.Writer) (*expect.Console, *vt10x.State, terminal.UI, error) {
	console, state, err := vt10x.NewVT10XConsole(expect.WithStdout(writers...))
	if err != nil {
		return nil, nil, nil, err
	}
	ui := ui{terminal.NewUI(
		newUIConfig(options),
		console.Tty(),
		console.Tty(),
		console.Tty(),
	), options.OpenBrowserFn}
	return console, state, ui, nil
}
func NewVT10XConsoleWithOptions ( options UIOptions , writers ... io . Writer ) ( * expect . Console , * vt10x . State , terminal . UI , error ) { console , state , err := vt10x . NewVT10XConsole ( expect . WithStdout ( writers ... ) ) if err != nil { return nil , nil , nil , err } ui := ui { terminal . NewUI ( newUIConfig ( options ) , console . Tty ( ) , console . Tty ( ) , console . Tty ( ) , ) , options . OpenBrowserFn } return console , state , ui , nil }
NewVT10XConsoleWithOptions creates a new *expect.Console
along with its corresponding *vt10.State and mock terminal UI based on the provided options
NewVT10XConsoleWithOptions creates a new * expect . Console along with its corresponding * vt10 . State and mock terminal UI based on the provided options