@lvce-editor/pty-host 8.11.0 → 8.11.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/dist/ptyHostMain.js +2 -2
- package/package.json +1 -1
package/dist/ptyHostMain.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spawn } from 'node:child_process';
|
|
2
2
|
import { fileURLToPath } from 'node:url';
|
|
3
|
-
import
|
|
3
|
+
import Headless from '@xterm/headless';
|
|
4
4
|
import { Console } from 'node:console';
|
|
5
5
|
import { createWriteStream, readFileSync } from 'node:fs';
|
|
6
6
|
import { tmpdir } from 'node:os';
|
|
@@ -1475,7 +1475,7 @@ const detachConnection = ipc => {
|
|
|
1475
1475
|
})();
|
|
1476
1476
|
};
|
|
1477
1477
|
const newSession = (token, createPty) => {
|
|
1478
|
-
const screen = new Terminal({
|
|
1478
|
+
const screen = new Headless.Terminal({
|
|
1479
1479
|
allowProposedApi: true,
|
|
1480
1480
|
cols: 80,
|
|
1481
1481
|
rows: 24,
|