File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
// tslint:disable no-any
2
2
3
+ import { ITerminalService } from "vs/workbench/contrib/terminal/common/terminal" ;
4
+
3
5
export interface EvalHelper { }
4
6
interface ActiveEvalEmitter {
5
7
removeAllListeners ( event ?: string ) : void ;
@@ -162,6 +164,8 @@ declare namespace ide {
162
164
163
165
onTerminalAdded ( cb : ( ) => void ) : void ;
164
166
onTerminalRemoved ( cb : ( ) => void ) : void ;
167
+
168
+ ttyService ( ) : ITerminalService ;
165
169
} ;
166
170
167
171
export enum Severity {
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ class VSClient extends IdeClient {
104
104
onTerminalRemoved : ( cb ) : void => {
105
105
getService < ITerminalService > ( ITerminalService ) . onInstanceDisposed ( ( ) => cb ( ) ) ;
106
106
} ,
107
+
108
+ ttyService : ( ) : ITerminalService => {
109
+ return getService < ITerminalService > ( ITerminalService ) ;
110
+ } ,
107
111
} ,
108
112
109
113
// @ts -ignore
You can’t perform that action at this time.
0 commit comments