Skip to content
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

KeyEnter and KeyCtrlM map to the same Hex value #244

Open
alfred-stokespace opened this issue Nov 30, 2022 · 1 comment
Open

KeyEnter and KeyCtrlM map to the same Hex value #244

alfred-stokespace opened this issue Nov 30, 2022 · 1 comment

Comments

@alfred-stokespace
Copy link

See code here...

KeyEnter Key = 0x0D

	KeyEnter          Key = 0x0D
	KeyCtrlM          Key = 0x0D

I found this out the hard way while I attempted to bind KeyCtrlM for something and found out by accident that when I hit the Enter key I got the same behavior.... a feature; not a bug perhaps?

@nsf
Copy link
Owner

nsf commented Nov 30, 2022

It's not a bug, terminal sends 0x0D byte on Enter or Ctrl+M.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants