-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Mapping ctrl-j executes Enter
#177
Comments
The culprit, and the reason I contact the crossterm team, is this log:
and I've had 2 other similar reports. Additional note: @madhermit said vim correctly receives ctrl-j events. |
This PR fixes the issue for me. You might want to give it a try as well crossterm-rs/crossterm#373 |
Thanks @TimonPost ! |
Awesome work! Thank you so much |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After mapping
ctrl-j
in the config file, using it in broot acts like hitting theEnter
keyTo Reproduce
Steps to reproduce the behavior:
1.) Add the following to the config.toml file
2.) Open broot by typing
$ broot
3.) Hit
ctrl-j
Expected behavior
The cursor should move down an entry, just as if you were hitting the down arrow key
Screenshots
Result of
$ BROOT_LOG=debug broot
Configuration (please complete the following information):
Additional context
Setting up an alternative mapping such as
ctrl-n
withexecution = ":line_down"
works as expectedThe text was updated successfully, but these errors were encountered: