LEVIATHAN v962456e · 962456eee1

moby

class AnsiRenderer

since 0.1.0-alpha.1linux

bases
IRenderer

Constructors

new

new()

Fields

acquired_

bool acquired_

capture_

bool capture_

captured_

StringBuilder captured_

dumb_

bool dumb_

emitStyle_

Style emitStyle_

noColor_

bool noColor_

prev_

Block prev_

prevH_

int prevH_

prevValid_

bool prevValid_

prevW_

int prevW_

useAlt_

bool useAlt_

useMouse_

bool useMouse_

usePaste_

bool usePaste_

Methods

__capture

__capture(bool on) -> AnsiRenderer

__drainCapture

__drainCapture() -> string

__setDumb

__setDumb(bool on) -> void

__setNoColor

__setNoColor(bool on) -> void

acquire

acquire(bool altScreen, bool mouse, bool paste) -> void

bell

bell() -> void

cellEqual

cellEqual(Block a, Block b, int off) -> bool

emitCell

emitCell(Block cells, int off, StringBuilder out) -> void

flush

flush(string bytes) -> void

lastCellsChanged

lastCellsChanged() -> int

leadColumn

leadColumn(Block cells, int y, int col, int width) -> int

present

present(Surface s) -> void

presentDiff

presentDiff(Surface s, StringBuilder out) -> int

presentFull

presentFull(Surface s, StringBuilder out) -> int

release

release() -> void

setCursor

setCursor(Point | None pos) -> void

size

size() -> Size