Overview of Linenoise
masterLinenoise is a minimal, zero-configuration, BSD-licensed replacement for readline. It is designed to be a lightweight alternative for command-line utilities that require line editing without the overhead of large libraries like readline (30k lines) or libedit (20k lines). It is currently approximately 1,100 lines of code.
Key features include:
- Single and multi-line editing mode with standard key bindings.
- History handling for command recall.
- Completion support.
- Minimal dependencies: It only uses a subset of VT100 escape sequences (ANSI.SYS compatible), making it highly portable across various terminals.