10 unstable releases (3 breaking)

Uses old Rust 2015

0.3.0 Oct 4, 2015
0.2.1 Sep 20, 2015
0.1.3 Sep 11, 2015
0.1.2 Aug 31, 2015
0.0.3 Aug 31, 2015

#56 in #editing

Download history 104/week @ 2024-07-24 218/week @ 2024-07-31 148/week @ 2024-08-07 26/week @ 2024-08-14 54/week @ 2024-08-21 10/week @ 2024-08-28 58/week @ 2024-09-04 59/week @ 2024-09-11 51/week @ 2024-09-18 32/week @ 2024-09-25 46/week @ 2024-10-02 105/week @ 2024-10-09 29/week @ 2024-10-16 3/week @ 2024-10-23 66/week @ 2024-10-30 12/week @ 2024-11-06

142 downloads per month
Used in line_botty

MIT license

26KB
774 lines

rust-copperline

rust-copperline


lib.rs:

A low-level terminal line editing library

Copperline is a line editing library written from scratch in Rust, born from the authors frustration with the interface of existing bindings to C-libraries like readline, libedit or linenoise.

Features that are currently supported:

  • Cursor movement and text insertion
  • Jumps (via C-a and C-e)
  • History browsing (via C-p and C-n)

It has a clean, hackable codebase, which I hope will foster contributions so that the Rust ecosystem will soon be able to utilise a mature, pure-Rust line editing library.

Dependencies

~5.5MB
~92K SLoC