-
-
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
Binding to Ctrl+h not working #410
Comments
Thank you for your issue. |
Thanks for the response. This worked. Both
This also worked.
But this did not.
What Ctrl+h is same as? |
I see. Hmm. This may be cbind's backspace/backspace2 is not correct. go mod vendor edit vendor/code.rocketnine.space/tslocum/cbind/key.go --- vendor/code.rocketnine.space/tslocum/cbind/key.go.old 2023-07-12 23:33:52.625548111 +0900
+++ vendor/code.rocketnine.space/tslocum/cbind/key.go 2023-07-12 23:33:56.325560055 +0900
@@ -25,10 +25,10 @@
var UnifyEnterKeys = true
var fullKeyNames = map[string]string{
- "backspace2": "Backspace",
- "pgup": "PageUp",
- "pgdn": "PageDown",
- "esc": "Escape",
+ "backspace": "Backspace",
+ "pgup": "PageUp",
+ "pgdn": "PageDown",
+ "esc": "Escape",
}
var ctrlKeys = map[rune]tcell.Key{
@@ -114,7 +114,7 @@
}
switch pieceLower {
case "backspace":
- key = tcell.KeyBackspace2
+ key = tcell.KeyBackspace
continue
case "space", "spacebar":
key = tcell.KeyRune make clean
make Backspace can now be specified. I will investigate further and contact cbind. |
The actual key input ctrl+h can be set with the string "ctrl+h". Fix for noborus/ov#410.
Temporarily replace the cbind module. This resolves #410.
After trying various things, I decided to make ctrl+h the same as Backspace. ov has decided to deprecate the settings ctrl+h and Backspace2. |
Fixed in v0.32.0. thank you. |
I tried binding
ctrl+h
to a couple of functions, but in any case, it did not work; Nothing happened.My terminal produces
0x08
onctrl+h
.The text was updated successfully, but these errors were encountered: