terminal

package
v0.0.0-...-7aee29f Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminal

type Terminal struct {
	// contains filtered or unexported fields
}

func New

func New(prompt string) Terminal

func (*Terminal) Activate

func (t *Terminal) Activate()

func (*Terminal) Deactivate

func (t *Terminal) Deactivate()

func (*Terminal) Print

func (t *Terminal) Print(s string) error

func (*Terminal) ReadLine

func (t *Terminal) ReadLine() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳