package miaou-driver-matrix
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Miaou high-performance terminal driver with diff rendering
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.5.2.tar.gz
md5=60a3b9f181f24572a06a9492532bfdda
sha512=fcc35a275066be2900e6201782faf47503076fa4640f08cf78067835a6f447b74613009e55b2ac799adb7ca46f1bffa261fc5971753f2cc3c6bef327511c7ef6
doc/miaou-driver-matrix.driver/Miaou_driver_matrix/Matrix_input/index.html
Module Miaou_driver_matrix.Matrix_inputSource
Terminal input handling for the Matrix driver.
A dedicated Eio fiber reads keyboard and mouse input from the terminal, parsing escape sequences into events which are pushed into a mutex-protected queue. The main tick loop drains the queue each tick, giving sub-millisecond input latency regardless of TPS.
Lifecycle: create -> start -> (main loop calls drain) -> stop.
Input reader state.
Create a new input reader for the given terminal. Does not start the reader fiber — call start for that.
Start the background reader fiber. Must be called after entering terminal raw mode, from inside an Eio switch (uses Miaou_helpers.Fiber_runtime.spawn).
Drain all pending events from the queue (oldest first). Returns the empty list when nothing is buffered.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>