rustyline-async 0.2.2

A minimal readline with multiline and async support.
Documentation

RustyLine Async

Docs

A minimal readline with multiline and async support.

Inspired by rustyline , async-readline & termion-async-input. Built using crossterm

Features

  • Full Unicode Support (Including Graphene Clusters)
  • Multiline Editing
  • Ctrl-C, Ctrl-D are returned as Err(Interrupt) and Err(Eof) respectively.
  • Ctrl-U to clear line before cursor
  • Ctrl-left & right to move to next or previous whitespace
  • Ctrl-L clear screen
  • Extensible design based on crossterm's event-stream feature

Feel free to PR to add more features!

Example:

cargo run --package readline

rustyline-async