-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
return key press event key has ctrl=true #27
Labels
Comments
Maybe this is expected for reasons i dont know about? Is \r supposed to map to :ctrl_m ? |
i guess so. so what do i do then if i want to listen for ctrl+return or shift+return |
does this mean my keyboard is sending CTL-J, or that is what my terminal is sending to the shell? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
return key press event key has ctrl=true
#
when only pressing return, and not ctrl
Steps to reproduce the problem
Actual behaviour
#<struct TTY::Reader::Key name=:return, ctrl=true, meta=false, shift=false>
Expected behaviour
#<struct TTY::Reader::Key name=:return, ctrl=false, meta=false, shift=false>
Describe your environment
The text was updated successfully, but these errors were encountered: