@industry-theme/xterm-terminal-panel 0.5.31 → 0.5.32
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/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
// package.json
|
|
36
36
|
var package_default = {
|
|
37
37
|
name: "@industry-theme/xterm-terminal-panel",
|
|
38
|
-
version: "0.5.
|
|
38
|
+
version: "0.5.32",
|
|
39
39
|
description: "Industry-themed xterm.js terminal components with panel framework integration",
|
|
40
40
|
type: "module",
|
|
41
41
|
main: "dist/index.js",
|
|
@@ -1796,6 +1796,13 @@ var TerminalPanel = ({
|
|
|
1796
1796
|
if (actions.claimTerminalOwnership) {
|
|
1797
1797
|
await actions.claimTerminalOwnership(id);
|
|
1798
1798
|
}
|
|
1799
|
+
if (!dataPortRef.current && actions.requestTerminalDataPort) {
|
|
1800
|
+
try {
|
|
1801
|
+
await actions.requestTerminalDataPort(id);
|
|
1802
|
+
} catch (portErr) {
|
|
1803
|
+
console.warn("[TerminalPanel] requestTerminalDataPort failed:", portErr);
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1799
1806
|
if (mounted) {
|
|
1800
1807
|
setSessionId(id);
|
|
1801
1808
|
setIsInitializing(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminalPanel.d.ts","sourceRoot":"","sources":["../../../src/panels/TerminalPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAiB,MAAM,gBAAgB,CAAC;AAqBxE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"TerminalPanel.d.ts","sourceRoot":"","sources":["../../../src/panels/TerminalPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAiB,MAAM,gBAAgB,CAAC;AAqBxE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAobtD,CAAC"}
|
package/package.json
CHANGED