How can I show newlines in <p:terminal>?
The following string
Id name memory
1 process1 234lk
2 process2 456k
is shown as
Id name memory/1 process1 234lk/2 process2 456k
How can I show newlines?
Well add some html to your response. If your returning a string format it with html tags in your case you can format it like this
And you’ve got the newlines in your terminal and your spaces are preserved.