File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
lib/vscode/src/vs/server/node Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -606,6 +606,10 @@ class Terminal {
606606 return this . process . input ( data ) ;
607607 }
608608
609+ public acknowledgeDataEvent ( charCount : number ) : void {
610+ return this . process . acknowledgeDataEvent ( charCount ) ;
611+ }
612+
609613 public resize ( cols : number , rows : number ) : void {
610614 this . cols = cols ;
611615 this . rows = rows ;
@@ -658,6 +662,7 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec
658662 case '$createTerminalProcess' : return this . createTerminalProcess ( context . remoteAuthority , args ) ;
659663 case '$startTerminalProcess' : return this . startTerminalProcess ( args ) ;
660664 case '$sendInputToTerminalProcess' : return this . sendInputToTerminalProcess ( args ) ;
665+ case '$sendCharCountToTerminalProcess' : return this . sendCharCountToTerminalProcess ( args ) ;
661666 case '$shutdownTerminalProcess' : return this . shutdownTerminalProcess ( args ) ;
662667 case '$resizeTerminalProcess' : return this . resizeTerminalProcess ( args ) ;
663668 case '$getTerminalInitialCwd' : return this . getTerminalInitialCwd ( args ) ;
@@ -827,6 +832,10 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec
827832 return this . getTerminal ( args . id ) . input ( args . data ) ;
828833 }
829834
835+ private async sendCharCountToTerminalProcess ( args : terminal . ISendCharCountToTerminalProcessArguments ) : Promise < void > {
836+ return this . getTerminal ( args . id ) . acknowledgeDataEvent ( args . charCount ) ;
837+ }
838+
830839 private async shutdownTerminalProcess ( args : terminal . IShutdownTerminalProcessArguments ) : Promise < void > {
831840 return this . getTerminal ( args . id ) . shutdown ( args . immediate ) ;
832841 }
You can’t perform that action at this time.
0 commit comments