@adhdev/daemon-core 0.9.82-rc.161 → 0.9.82-rc.162
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/providers/spec/adapter.ts +18 -3
package/dist/index.mjs
CHANGED
|
@@ -26269,7 +26269,8 @@ import * as path18 from "path";
|
|
|
26269
26269
|
|
|
26270
26270
|
// src/providers/spec/adapter.ts
|
|
26271
26271
|
init_pty_transport();
|
|
26272
|
-
import
|
|
26272
|
+
import * as xtermHeadlessNs from "@xterm/headless";
|
|
26273
|
+
var TerminalCtor2 = xtermHeadlessNs.Terminal ?? xtermHeadlessNs.default?.Terminal;
|
|
26273
26274
|
var TerminalAdapter = class {
|
|
26274
26275
|
constructor(opts, handlers) {
|
|
26275
26276
|
this.opts = opts;
|
|
@@ -26279,7 +26280,7 @@ var TerminalAdapter = class {
|
|
|
26279
26280
|
this.screenDebounceMs = opts.screenChangeDebounceMs ?? 80;
|
|
26280
26281
|
this.tickIntervalMs = opts.tickIntervalMs ?? 0;
|
|
26281
26282
|
this.factory = opts.transportFactory ?? new NodePtyTransportFactory();
|
|
26282
|
-
this.term = new
|
|
26283
|
+
this.term = new TerminalCtor2({ cols: this.cols, rows: this.rows, allowProposedApi: true, scrollback: 1e3 });
|
|
26283
26284
|
}
|
|
26284
26285
|
term;
|
|
26285
26286
|
pty = null;
|