Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Miaou_driver_matrix.Matrix_terminalSourceTerminal setup and management for the Matrix driver.
Handles raw mode, size detection, mouse tracking, and signal handling. Adapted from term_terminal_setup.ml and term_size_detection.ml for the matrix driver without lambda-term dependency.
Install signal handlers (SIGINT, SIGTERM, etc.). Returns atomic flag that will be set when exit signal received. The cleanup function will be called in the signal handler.
Like install_signals but with optional control over which signals are handled.
Set screen content to dump on exit for debugging. The content will be printed after exiting alternate screen mode.
Configure whether enter_raw should switch to the alternate screen. Default is true (alt-screen on). When set to false before enter_raw, the driver runs in inline mode — the TUI renders over the current terminal contents and its final frame stays in scrollback after cleanup. See Miaou_driver_common.Terminal_raw.set_alt_screen.