KetraTerm
API · v0.3.0All versions

TerminalOracleCellSnapshot

data class TerminalOracleCellSnapshot(val text: String, val width: Int, val foreground: TerminalOracleColor, val background: TerminalOracleColor, val bold: Boolean, val italic: Boolean, val dim: Boolean, val underline: Boolean, val blink: Boolean, val inverse: Boolean, val invisible: Boolean, val strikethrough: Boolean, val overline: Boolean)

Cell state available through the public xterm.js buffer API.

Constructors

Link copied to clipboard
constructor(text: String, width: Int, foreground: TerminalOracleColor, background: TerminalOracleColor, bold: Boolean, italic: Boolean, dim: Boolean, underline: Boolean, blink: Boolean, inverse: Boolean, invisible: Boolean, strikethrough: Boolean, overline: Boolean)

Properties

Link copied to clipboard

Normalized background color.

Link copied to clipboard

Whether SGR blink is active.

Link copied to clipboard

Whether SGR bold is active.

Link copied to clipboard

Whether SGR faint is active.

Link copied to clipboard

Normalized foreground color.

Link copied to clipboard

Whether SGR inverse is active.

Link copied to clipboard

Whether SGR invisible is active.

Link copied to clipboard

Whether SGR italic is active.

Link copied to clipboard

Whether SGR overline is active.

Link copied to clipboard

Whether SGR strikethrough is active.

Link copied to clipboard

Complete cell text; empty for blanks and wide trailing cells.

Link copied to clipboard

Whether SGR underline is active.

Link copied to clipboard
val width: Int

Display width reported by the oracle: zero, one, or two cells.