May I create a feature for more beautiful view for node strings with "\n"(newlines).
Could you clarify.
Prototype:
artist := gotree.New("Pantera")
album := artist.Add("Far Beyond\nDriven") // <<----- add newline here
album.Add("5 minutes Alone")
artist.Add("Power Metal")
fmt.Println(artist.Print())
// Output:
// Pantera
// ├───+ Far Beyond
// │ │ Driven // <<<<----- good view on new line
// │ └── 5 minutes Alone
// └── Power Metal
May I create a feature for more beautiful view for node strings with "\n"(newlines). Could you clarify.
Prototype: