Closed cevhyruz closed 6 years ago
I'll have a look. It's something I'd like as well, but many key combos are difficult or impossible to read in the terminal.
OK, so I'm gonna need help with this one. If anyone can help me detect CTRL+keys (especially CTRL+backspace) using the default curses library with CPython, please let me know how. I find curses to be quite flaky to be honest, and not a very easy API to work with.
It seems it's possible to detect ALT+BACKSPACE, but only on some terminals. I wouldn't wait for this feature. I only want to add stuff that I absolutely know works.
Now that I have a config file, I may be able to hack in such a feature for the ones it works for, though. It does require a little bit of finicky code changes, though. If you're up to it, please give it a go!
I can't see any way to fix this, so unfortunately I'll just close it.
I would like to request a feature, if its possible to add the use of ctrl key. like when I'm correcting a typo, I prefer doing it using ctrl + backspace instead of backspace along all the way to the wrong character. is it possible or is it gonna conflict with the terminal keybindings?