// BasicDefault is a wrapper around Terminal.BasicDefault.

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