-
Notifications
You must be signed in to change notification settings - Fork 39
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
gocui.KeyCtrlTilde doesn't seem to be triggering #76
Comments
What version of gocui are you using? |
@glvr182 If she is using the newer version, the problem might be caused by this line: Line 226 in a0f5add
It could be changed to have the same keybind as Line 122 in a0f5add
and maybe even on line 115 and check what key (or just what number) is obtained when such combination is hit, it would be good to see. I was using linux machine thru ssh and was trying Windows Terminal and Hyper terminal (both windows versions) and I couldn't get it trigger anything. So I assume it doesn't have a key when using terminal on windows machine (even if logged to linux thru ssh). If it doesn't trigger anything, maybe that key should be removed from the API. It was kept there for backward compatibility, but I can see that it might make more confusion than help. |
Ill do some testing this weekend, exams tomorrow and thursday 🙃. Thanks for pointing me in a direction to look for this! |
Was trying to use ctrl+~ because ctrl+1 is not available as an option. Why is this? BTW I'm on a Mac |
We have our own fork of your repo (forked to fix some text input issues I've mentioned in previous questions on here) so not really a specific version, but forked back in July. Last common commit is fa13102 |
@juliaschell I see, so you are using older version with As for why you can't see or use that key, your terminal probably does not have it mapped to anything. I don't think that key is actually mapped to something in general, as in You can try this command In your case, I would probably go for F-keys, even though I know Mac doesn't have them easily accessible. Or go for some control and alphabet keys. But keep in mind they might produce same sequence as other keys, like |
@glvr182 I think it's not necessary to debug as the problem is in the older version with Btw... if the |
Anyone else had this issue? My keybinding for gocui.KeyCtrlTilde doesn't seem to be running
When I hit ctrl+2, I get the log. when I hit ctrl+~, nothing happens.
The text was updated successfully, but these errors were encountered: