File tree Expand file tree Collapse file tree 1 file changed +1
-31
lines changed
src/vs/platform/terminal/common/capabilities Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change 4
4
*--------------------------------------------------------------------------------------------*/
5
5
6
6
import { Event } from '../../../../base/common/event.js' ;
7
- import { IDisposable } from '../../../../base/common/lifecycle.js' ;
8
7
import type { IPromptInputModel , ISerializedPromptInputModel } from './commandDetection/promptInputModel.js' ;
9
8
import { ICurrentPartialCommand } from './commandDetection/terminalCommand.js' ;
10
9
import { ITerminalOutputMatch , ITerminalOutputMatcher } from '../terminal.js' ;
11
10
import { ReplayEntry } from '../terminalProcess.js' ;
12
-
13
- interface IEvent < T , U = void > {
14
- ( listener : ( arg1 : T , arg2 : U ) => any ) : IDisposable ;
15
- }
16
-
17
- export interface IMarker extends IDisposable {
18
- /**
19
- * A unique identifier for this marker.
20
- */
21
- readonly id : number ;
22
-
23
- /**
24
- * Whether this marker is disposed.
25
- */
26
- readonly isDisposed : boolean ;
27
-
28
- /**
29
- * The actual line index in the buffer at this point in time. This is set to
30
- * -1 if the marker has been disposed.
31
- */
32
- readonly line : number ;
33
-
34
- /**
35
- * Event listener to get notified when the marker gets disposed. Automatic disposal
36
- * might happen for a marker, that got invalidated by scrolling out or removal of
37
- * a line from the buffer.
38
- */
39
- onDispose : IEvent < void > ;
40
- }
41
-
11
+ import type { IMarker } from '@xterm/headless' ;
42
12
43
13
/**
44
14
* Primarily driven by the shell integration feature, a terminal capability is the mechanism for
You can’t perform that action at this time.
0 commit comments