@esfaenza/core 20.3.81 → 20.3.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1659,6 +1659,8 @@ class EsTerminalComponent {
1659
1659
  echo(text, kind = "output") {
1660
1660
  if (text === null || text === undefined)
1661
1661
  return;
1662
+ //Gli a capo finali (spesso \r\n) lascerebbero una riga vuota sotto ogni risposta
1663
+ text = text.replace(/\r\n?/g, "\n").replace(/\n+$/, "");
1662
1664
  this.Lines.update(l => [...l, { Kind: kind, Text: text }]);
1663
1665
  this.scrollToBottom();
1664
1666
  }