Comments (4)
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.
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.
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.
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)
- offset cursor HOT 15
- it doesn't work on git bash in Windows HOT 6
- expose keymapMode type HOT 1
- Don't add empty lines to history
- Extend support for more editors, with some comfort settings
- consolidating changes/fixes from hilbish's fork HOT 2
- Fix Windows tests for `.inputrc` code
- Implement multiline editing support HOT 1
- Implement proper Windows redisplay on resize
- '\' character consumed but not used HOT 14
- Remaining widgets to implement
- comments (?) behaviour HOT 14
- Support escape sequences in vi-ins-mode-string & vi-cmd-mode-string HOT 7
- Implement testing suite HOT 1
- Port lmorg/readline code for WASM support
- Review or enhancements of terminal-specific code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readline.