// Custom is a wrapper around Terminal.Custom.

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