terminal_wrapper (cellium v0.1.0)

View Source

A wrapper for the terminal implementation that allows switching between the native terminal, dummy terminal, and mock terminal.

Summary

Functions

get_backend()

get_cell(X, Y)

set_backend(Backend)

term_clear()

term_get_row(Y, Width)

term_get_row(X, Y, Length)

term_height()

term_init()

term_poll_event()

term_present()

term_print(X, Y, Fg, Bg, Str)

term_set_cell(X, Y, Char, Fg, Bg)

term_set_input_mode(Mode)

term_set_output_mode(Mode)

term_shutdown()

term_width()