@crazyhappyone/dsh-tui 0.1.0-alpha.38 → 0.1.0-alpha.39

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -58695,7 +58695,7 @@ var import_react40 = __toESM(require_react(), 1);
58695
58695
  // packages/tui/tui-render/src/content.ts
58696
58696
  var GRAPHEME = new Intl.Segmenter(void 0, { granularity: "grapheme" });
58697
58697
  function escapeContent(text4) {
58698
- return text4.replace(
58698
+ return text4.replace(/\r\n/g, "\n").replace(/\r/g, "\n").replace(
58699
58699
  /[\u0000-\u0008\u000B-\u001F\u007F]/g,
58700
58700
  (char) => `\\x${char.charCodeAt(0).toString(16).padStart(2, "0")}`
58701
58701
  ).replace(/\u001B/g, "\\x1b");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crazyhappyone/dsh-tui",
3
- "version": "0.1.0-alpha.38",
3
+ "version": "0.1.0-alpha.39",
4
4
  "description": "Source-runtime launcher for the DeepSeek Harness terminal interface",
5
5
  "type": "module",
6
6
  "license": "MIT",