@f5xc-salesdemos/pi-tui 19.41.1 → 19.42.1
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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5xc-salesdemos/pi-tui",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.42.1",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://github.com/f5xc-salesdemos/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@f5xc-salesdemos/pi-natives": "19.
|
|
41
|
-
"@f5xc-salesdemos/pi-utils": "19.
|
|
40
|
+
"@f5xc-salesdemos/pi-natives": "19.42.1",
|
|
41
|
+
"@f5xc-salesdemos/pi-utils": "19.42.1",
|
|
42
42
|
"marked": "^17.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -328,7 +328,8 @@ export class Markdown implements Component {
|
|
|
328
328
|
const ascii = this.#theme.getMermaidAscii(hash);
|
|
329
329
|
|
|
330
330
|
if (ascii) {
|
|
331
|
-
|
|
331
|
+
// Keep the diagram's themed ANSI colors — do not strip.
|
|
332
|
+
for (const asciiLine of ascii.split("\n")) {
|
|
332
333
|
lines.push(asciiLine);
|
|
333
334
|
}
|
|
334
335
|
if (nextTokenType && nextTokenType !== "space") {
|