arangodb / linenoise-ng

A small self-contained alternative to readline and libedit that supports UTF-8 and Windows and is BSD licensed.
Other
359 stars 53 forks source link

Port of linenoise/antirez#104 #2

Closed octplane closed 8 years ago

octplane commented 8 years ago

Hello,

This is a simple port of https://github.com/antirez/linenoise/pull/104/files . It adds a method to access the history.

This PR comes in order to be able to use linenoise-ng in my FFI binding rust-linenoise and preserve:

(the PR has also cleaned up some extra space, let me know if you want me to remove these changes from the PR).

ifcologne commented 8 years ago

Thanks for this PR. May I ask you to fill out and sign our Contributor Agreement to meet legal requirements? You can scan and email the pdf file to cla@arangodb.com or send it via fax to +49-221-2722999-88. Sorry for the inconvenience, but once the agreement is there we can merge the PR.

jsteemann commented 8 years ago

Thanks!

octplane commented 8 years ago

My pleasure!