code: func (u *UI) Write(p []byte) (n int, err error) {
  	parts := bytes.Split(p, []byte{'\n'})
  
  	indent := bytes.Repeat([]byte{' '}, u.Indent)
  	for i, part := range parts {
  		if len(part) > 0 {
  			part = append(indent, part...)
  		}
  		os.Stdout.Write(part)
  		if i < len(parts)-1 {
  			fmt.Println()
  		}
  	}
  
  	return len(p), nil
  }
docs: // Write implements the io.Writer interface
  // The provided bytes are split on newlines, and written with the UI's
  // configured indent.