// Ask is a wrapper around Terminal.Ask.

Ask is a wrapper around Terminal.Ask.
// Ask is a wrapper around Terminal . Ask .
func Ask(question string) (bool, error) {
	term, err := NewTerminal()
	if err != nil {
		return false, err
	}
	defer term.Close()
	return term.Ask(question)
}
func Ask ( question string ) ( bool , error ) { term , err := NewTerminal ( ) if err != nil { return false , err } defer term . Close ( ) return term . Ask ( question ) }
Ask is a wrapper around Terminal.Ask.
Ask is a wrapper around Terminal . Ask .