I have asked this question now several ways, but still have not gotten an answer.
When you capture asci text in a textarea that includes line breaks, it seems to ins
If you are using javascript you can use the textarea element value Property.
var tb = document.getElementById("tb"); var newLine = "\r\n"; var text = "Output: " + newLine + "-------------------" + newLine + "line 1: " + newLine + "line 2: "; tb.value = text; //console.log(text);
Output: -------------
Run it on JSFiddle