// Basic is a wrapper around Terminal.Basic.

Basic is a wrapper around Terminal.Basic.
// Basic is a wrapper around Terminal . Basic .
func Basic(prefix string, required bool) (string, error) {
	term, err := NewTerminal()
	if err != nil {
		return "", err
	}
	defer term.Close()
	return term.Basic(prefix, required)
}
func Basic ( prefix string , required bool ) ( string , error ) { term , err := NewTerminal ( ) if err != nil { return " " , err } defer term . Close ( ) return term . Basic ( prefix , required ) }
Basic is a wrapper around Terminal.Basic.
Basic is a wrapper around Terminal . Basic .