From 01c3d1f53d669a2d6a1f6e4d087b234831276e47 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 10 Mar 2021 13:15:14 -0600 Subject: [PATCH] Implement missing terminal method --- lib/vscode/src/vs/server/node/channel.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/vscode/src/vs/server/node/channel.ts b/lib/vscode/src/vs/server/node/channel.ts index fa27ac43..b850842b 100644 --- a/lib/vscode/src/vs/server/node/channel.ts +++ b/lib/vscode/src/vs/server/node/channel.ts @@ -606,6 +606,10 @@ class Terminal { return this.process.input(data); } + public acknowledgeDataEvent(charCount: number): void { + return this.process.acknowledgeDataEvent(charCount); + } + public resize(cols: number, rows: number): void { this.cols = cols; this.rows = rows; @@ -658,6 +662,7 @@ export class TerminalProviderChannel implements IServerChannel { + return this.getTerminal(args.id).acknowledgeDataEvent(args.charCount); + } + private async shutdownTerminalProcess(args: terminal.IShutdownTerminalProcessArguments): Promise { return this.getTerminal(args.id).shutdown(args.immediate); }