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_
presents_
int presents_releases_
int releases_w_
int w_Methods
acquire
acquire(bool altScreen, bool mouse, bool bracketedPaste) -> voidacquired
acquired() -> boolacquires
acquires() -> intappendAttr
appendAttr(StringBuilder b, int attrs, int bit, string name) -> voidattrsName
attrsName(int attrs) -> stringbell
bell() -> voidbells
bells() -> intchannelBanner
channelBanner(string label) -> stringcolorName
colorName(int b) -> stringcursor
cursor() -> Point | NoneonResize
onResize((Size) => void handler) -> TestRendererpresent
present(Surface s) -> voidpresents
presents() -> intrelease
release() -> voidreleases
releases() -> intsetCursor
setCursor(Point | None pos) -> voidsetSize
setSize(int width, int height) -> voidsize
size() -> Sizesnapshot
snapshot() -> stringstyleDesc
styleDesc(int fg, int bg, int attrs) -> stringstyleIndex
styleLetter
styleLetter(int idx) -> stringtextOnly
textOnly() -> stringtextRow
textRow(int y) -> string