Interface: IMarker

Represents a specific line in the terminal that is tracked when scrollback is trimmed and lines are added or removed. This is a single line that may be part of a larger wrapped line.

Hierarchy

Index

Properties

Methods

Properties

id

id: number

Defined in xterm.d.ts:379

A unique identifier for this marker.


isDisposed

isDisposed: boolean

Defined in xterm.d.ts:384

Whether this marker is disposed.


line

line: number

Defined in xterm.d.ts:390

The actual line index in the buffer at this point in time. This is set to -1 if the marker has been disposed.


onDispose

onDispose: IEvent‹void›

Defined in xterm.d.ts:397

Event listener to get notified when the marker gets disposed. Automatic disposal might happen for a marker, that got invalidated by scrolling out or removal of a line from the buffer.

Methods

dispose

dispose(): void

Inherited from IDisposable.dispose

Defined in xterm.d.ts:359

Returns: void