Open laggardkernel opened 4 years ago
@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
)
Use
foo:bar
as an example. In redis-cli, Ctrl-w delete the whole word. This behaves differently from other tools depending on readline likemyql
, which only deletebar
and leavesfoo:
.Can I customize the behavior?