Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior of C-w in redis-cli #190

Open
laggardkernel opened this issue Aug 3, 2020 · 1 comment
Open

Behavior of C-w in redis-cli #190

laggardkernel opened this issue Aug 3, 2020 · 1 comment

Comments

@laggardkernel
Copy link

Use foo:bar as an example. In redis-cli, Ctrl-w delete the whole word. This behaves differently from other tools depending on readline like myql, which only delete bar and leaves foo:.

Can I customize the behavior?

@oranagra
Copy link

oranagra commented Aug 3, 2020

@laggardkernel i just tested and it seems that in that respect Ctrl+w redis-cli behaves the same as bash.
however, i see that in bash Alt+Backspace does what you said, and in redis-cli it does nothing.

There's no option to customize it, but feel free to make pull request (code is in deps/linenoise/linenoise.c)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants