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

#4 in #line-editing

Download history 5/week @ 2022-11-25 18/week @ 2022-12-02 19/week @ 2022-12-09 70/week @ 2022-12-16 14/week @ 2022-12-23 67/week @ 2022-12-30 13/week @ 2023-01-06 3/week @ 2023-01-13 36/week @ 2023-01-20 19/week @ 2023-01-27 43/week @ 2023-02-03 47/week @ 2023-02-10 48/week @ 2023-02-17 45/week @ 2023-02-24 89/week @ 2023-03-03 14/week @ 2023-03-10

205 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

~4.5MB
~76K SLoC