Interface: IBufferLine

Hierarchy

  • IBufferLine

Index

Properties

Methods

Properties

isWrapped

isWrapped: boolean

Defined in xterm.d.ts:1342


length

length: number

Defined in xterm.d.ts:1348

Methods

getCell

getCell(x: number, cell?: IBufferCell): *IBufferCell undefined*

Defined in xterm.d.ts:1362

Parameters:

Name Type Description
x number The character index to get.
cell? IBufferCell Optional cell object to load data into for performance reasons. This is mainly useful when every cell in the buffer is being looped over to avoid creating new objects for every cell.
Returns: *IBufferCell undefined*

translateToString

translateToString(trimRight?: boolean, startColumn?: number, endColumn?: number): string

Defined in xterm.d.ts:1372

Parameters:

Name Type Description
trimRight? boolean Whether to trim any whitespace at the right of the line.
startColumn? number The column to start from (inclusive).
endColumn? number The column to end at (exclusive).

Returns: string