The failed test does not impact the library. The TinyString class is not yet used (the one that fails).
This library allows to communicate with an Arduino or an ESP through terminal applications such as Minicomm or Mobaxterm. It supports a subset of ansi escape sequence and is able to distinguish between the Serial Monitor of Arduino IDE and a ansi terminal.
A prompt allows to enter commands that can be interpreted trhough a user defined callback.
- Detection of ansi term vs Arduino's IDE serial monitor
- Command line with prompt
- Home, Delete, Backspace, and Cursors keys are handled.
- Separate callback when the user hit a function key (F1..F12)
- Supports Ansi colors
- Subset of ansi codes (cursor position, clear, reset, cursor visibility)
- TinyString class designed to replace std::string, and more.
- Line per line evaluation (no key event)
- Not all ansi sequences are implemented
- Size of terminal not detected (yet)
Example | Description |
---|---|
console | Minimal example showing callbacks usages |
- Detect terminal size
- Separate command line from terminal
- Send event for each keys
Gnu GPL 3.0, see LICENSE.