File tree 1 file changed +9
-0
lines changed
lib/vscode/src/vs/server/node 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -606,6 +606,10 @@ class Terminal {
606
606
return this . process . input ( data ) ;
607
607
}
608
608
609
+ public acknowledgeDataEvent ( charCount : number ) : void {
610
+ return this . process . acknowledgeDataEvent ( charCount ) ;
611
+ }
612
+
609
613
public resize ( cols : number , rows : number ) : void {
610
614
this . cols = cols ;
611
615
this . rows = rows ;
@@ -658,6 +662,7 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec
658
662
case '$createTerminalProcess' : return this . createTerminalProcess ( context . remoteAuthority , args ) ;
659
663
case '$startTerminalProcess' : return this . startTerminalProcess ( args ) ;
660
664
case '$sendInputToTerminalProcess' : return this . sendInputToTerminalProcess ( args ) ;
665
+ case '$sendCharCountToTerminalProcess' : return this . sendCharCountToTerminalProcess ( args ) ;
661
666
case '$shutdownTerminalProcess' : return this . shutdownTerminalProcess ( args ) ;
662
667
case '$resizeTerminalProcess' : return this . resizeTerminalProcess ( args ) ;
663
668
case '$getTerminalInitialCwd' : return this . getTerminalInitialCwd ( args ) ;
@@ -827,6 +832,10 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec
827
832
return this . getTerminal ( args . id ) . input ( args . data ) ;
828
833
}
829
834
835
+ private async sendCharCountToTerminalProcess ( args : terminal . ISendCharCountToTerminalProcessArguments ) : Promise < void > {
836
+ return this . getTerminal ( args . id ) . acknowledgeDataEvent ( args . charCount ) ;
837
+ }
838
+
830
839
private async shutdownTerminalProcess ( args : terminal . IShutdownTerminalProcessArguments ) : Promise < void > {
831
840
return this . getTerminal ( args . id ) . shutdown ( args . immediate ) ;
832
841
}
You can’t perform that action at this time.
0 commit comments