// String returns a simplified string representation of the grid's runes,
// without the styling.
String returns a simplified string representation of the grid's runes,
without the styling.
// String returns a simplified string representation of the grid ' s runes // without the styling .
func (gd Grid) String() string {
	b := strings.Builder{}
	it := gd.Iterator()
	for it.Next() {
		b.WriteRune(it.Cell().Rune)
		p := it.P()
		if p.X == gd.Rg.Max.X-1 {
			b.WriteRune('\n')
		}
	}
	return b.String()
}
func ( gd Grid ) String ( ) string { b := strings . Builder { } it := gd . Iterator ( ) for it . Next ( ) { b . WriteRune ( it . Cell ( ) . Rune ) p := it . P ( ) if p . X == gd . Rg . Max . X - 1 { b . WriteRune ( '\n' ) } } return b . String ( ) }
String returns a simplified string representation of the grid's runes,
without the styling.
String returns a simplified string representation of the grid ' s runes without the styling .