-
Notifications
You must be signed in to change notification settings - Fork 722
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
Unable to map control keys #970
Comments
|
Strangely, using that method, I am able to map Edit: I also can't map |
This is due to terminal input, and generate the same input, and as well. No easy fix for that, we could migrate to @leonerd's input system, but that would basically mean getting rid of ncurses, at least for input handling. |
@mawww You could become one of the early adopters of Currently sitting at an RC1 prerelease, but I'm hoping to call that a real 0.1 any day now: |
If we're going to remove |
@leonerd is there a page that lists terminal emulators supporting the input model you proposed ? |
@lenormf Ahyes; I don't yet have truecolour support in libtickit, but adding is probably a couple of hours work at most. If you consider that your only blocker that should be easy enough to fix. |
I created issue #1012 to discuss an eventual change, to keep this one clean. |
|
Running the command
map global normal ^K :
(where^K
is inserted literally, by typing control-v followed by control-k) does not raise an error, but has no effect.Running the same command, but typing Enter instead of control-k, causes a strange box character to appear instead of the expected
^M
. The command throws an error1:1: 'map' wrong argument count
I was unable to find any help in the docs regarding mapping control characters and other such keys. If this is possible, how might I do it?
The text was updated successfully, but these errors were encountered: