fault.format

Terminal Context Stack display for scrolling region capable emulators.

os
import

sys
import

matrix
import

_close
function

_close(screen)

Construct a reset string to be used at exit.

setup
function

setup(screen, lines)

Initialize the terminal for use with a scrolling region. Constructs a device using control.setup and a fault.terminal.matrix.Context pointing to the status region.

_enter
function
bytes

_enter(context, screen)

Enter scrolling region; normal terminal output.

_exit
function
bytes

_exit(context, screen)

Exit scrolling region; status terminal output.