Rename ackId to charCount

This commit is contained in:
Daniel Imms
2021-01-12 11:36:21 -08:00
parent bf52d50a0a
commit 0a19f7702a
8 changed files with 17 additions and 18 deletions

View File

@@ -220,7 +220,7 @@ export class ExtHostPseudoterminal implements ITerminalChildProcess {
}
}
acknowledgeDataEvent(ackId: number): void {
acknowledgeDataEvent(charCount: number): void {
// TODO: Determine whether ExtHostPseudoterminal terminals should support flow control, this
// would need resume/pause APIs
@@ -495,8 +495,8 @@ export abstract class BaseExtHostTerminalService extends Disposable implements I
return disposables;
}
public $acceptProcessAckDataEvent(id: number, ackId: number): void {
this._terminalProcesses.get(id)?.acknowledgeDataEvent(ackId);
public $acceptProcessAckDataEvent(id: number, charCount: number): void {
this._terminalProcesses.get(id)?.acknowledgeDataEvent(charCount);
}
public $acceptProcessInput(id: number, data: string): void {