Giter VIP home page Giter VIP logo

Comments (4)

maxlandon avatar maxlandon commented on May 30, 2024 1

An upcoming release is going to provide full .inputrc support for keybinds.
I had forgot to tell you about it: don't bother trying to interface with the current version of the library,
especially keybinds; the API for them is going to change. Things like completions, history and hints won't change
though, they are stable now.

For your issue: case insensitivity will be possible in the upcoming release (a matter of days).

from readline.

maxlandon avatar maxlandon commented on May 30, 2024

Learning the .inputrc configuration file, if you haven't already, will save you a lot of time when setting your binds to the readline console.

from readline.

maxlandon avatar maxlandon commented on May 30, 2024

Hello Sammy,
I've just push a bunch of commits and will soon release the new version of the library, which supports .inputrc keybinds, as told previously.

About case-insentive completion: this is not handled by the library. When you will populate the readline.Completions type with one of the various
provided functions/methods (see completions.go), you will be responsible of filtering candidate against the current prefix. This is so that it's
both easier for most people and more powerful for people who want to check/set more custom logic.

I'm thus closing this issue, but don't hesitate reopening it (or creating a new one) if you need

from readline.

maxlandon avatar maxlandon commented on May 30, 2024

Following recent fixes and changes to the completion system, the latter accepts an inputrc completion-ignore-case which, if set to on, will not filter candidates in case-sensitive way.

from readline.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.