Linse is a header-only readline library for C++17.
Linse is a forked project of Linenoise Next Generation(linenoise-ng, arangodb/linenoise-ng).
linenoise-ng is based on antirez/linenoise.
Linse is based on linenoise-ng, so it also has the features below:
- single-line and multi-line editing mode with the usual key bindings implemented
- history handling
- completion
- BSD license source code
- Only uses a subset of VT100 escapes (ANSI.SYS compatible)
- UTF8 aware
- support for Linux
, MacOSand Windows- Linse may be worked on MacOS, but I don't check it because I have no Mac.
It is very important point that Linse doesn't have linenoise-compatible pure-C interface. It means that you can't replace linenoise or linenoise-ng on your code to Linse without changing code.
You need C++17-enabled compiler to use this library.
see example/example.cpp
3-clause BSD license ((C) I)