LEVIATHAN v962456e · 962456eee1

moby

class TestRenderer

since 0.1.0-alpha.1linux

bases
IRenderer

Constructors

new

new(int width, int height)

Fields

acquired_

bool acquired_

acquires_

int acquires_

bells_

int bells_

cursor_

Point | None cursor_

gh_

int gh_

grid_

Block grid_

gw_

int gw_

h_

int h_

onResize_

Array<(Size) => void> onResize_

presents_

int presents_

releases_

int releases_

w_

int w_

Methods

acquire

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

acquired

acquired() -> bool

acquires

acquires() -> int

appendAttr

appendAttr(StringBuilder b, int attrs, int bit, string name) -> void

attrsName

attrsName(int attrs) -> string

bell

bell() -> void

bells

bells() -> int

channelBanner

channelBanner(string label) -> string

colorName

colorName(int b) -> string

cursor

cursor() -> Point | None

onResize

onResize((Size) => void handler) -> TestRenderer

present

present(Surface s) -> void

presents

presents() -> int

release

release() -> void

releases

releases() -> int

setCursor

setCursor(Point | None pos) -> void

setSize

setSize(int width, int height) -> void

size

size() -> Size

snapshot

snapshot() -> string

styleDesc

styleDesc(int fg, int bg, int attrs) -> string

styleIndex

styleIndex(Array<int> fg, Array<int> bg, Array<int> attrs, int f, int b, int a) -> int

styleLetter

styleLetter(int idx) -> string

textOnly

textOnly() -> string

textRow

textRow(int y) -> string