Skip to content

Commit bfd4246

Browse files
committed
Use actual private API on headless
1 parent 5f31504 commit bfd4246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ export class PromptInputModel extends Disposable implements IPromptInputModel {
6868

6969
this._register(this._xterm.onData(e => this._handleInput(e)));
7070
this._register(Event.any(
71-
// TODO: Upstream me to headless
72-
(this._xterm as any).onWriteParsed,
71+
// TODO: Upstream me to headless https://github.com/xtermjs/xterm.js/pull/5034
72+
(this._xterm as any)._core.onWriteParsed,
7373
this._xterm.onCursorMove,
7474
)(() => this._sync()));
7575

0 commit comments

Comments
 (0)