package miaou-driver-matrix
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=60a3b9f181f24572a06a9492532bfdda
sha512=fcc35a275066be2900e6201782faf47503076fa4640f08cf78067835a6f447b74613009e55b2ac799adb7ca46f1bffa261fc5971753f2cc3c6bef327511c7ef6
doc/miaou-driver-matrix.driver/Miaou_driver_matrix/Matrix_terminal/index.html
Module Miaou_driver_matrix.Matrix_terminalSource
Terminal 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.