Terminal manipulation library for OCaml
Lambda-Term is a cross-platform OCaml library for terminal manipulation that provides abstractions for keys, mouse events, colors, and a set of widgets for building curses-like console applications. It aims to offer a higher-level functional interface to terminal control than C-based alternatives like ncurses by providing native OCaml bindings rather than C library wrappers. The library integrates with zed to enable text editing capabilities in console applications and is maintained by the OCaml community. Lambda-Term is built with Dune and includes modules for drawing, line editing, input configuration, history management, and a widget system.