linenoise-ng icon indicating copy to clipboard operation
linenoise-ng copied to clipboard

Basic bindkey functionality

Open llloret opened this issue 9 years ago • 5 comments

Inspired in readline's rl_bind_key functionality.

So that in the application we can do something like:

    linenoiseBindkeyAdd(ctrlChar('T'), &f1);
    linenoiseBindkeyAdd(ctrlChar('X'), &f2);    

And call those functions when the keys are detected while in linenoise()

llloret avatar Jun 10 '16 14:06 llloret

Hi, is there any interest on this PR?

llloret avatar Jun 15 '16 18:06 llloret

Yes, and thanks! We would be happy to accept the patch, but for legal reasons we need you to fill out and sign our Contributor Agreement. You can scan and email the pdf file to [email protected] or send it via fax to +49-221-2722999-88. Sorry for the inconvenience, but once the agreement is there the PR can be merged.

jsteemann avatar Jun 16 '16 07:06 jsteemann

Where can I find the Contributor Agreement?

llloret avatar Jun 16 '16 08:06 llloret

Sorry, I didn't send the link. The CLA PDF is here: https://www.arangodb.com/documents/cla.pdf

jsteemann avatar Jun 16 '16 09:06 jsteemann

@llloret thanks a lot for your fix. Can you sign a contributor licence agreement available at https://www.arangodb.com/documents/cla.pdf?

fceller avatar Mar 02 '17 12:03 fceller