-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Kitty's terminal protocol & complete_menu_complete_opts #445
Comments
Thanks. I confirmed the reported behavior. It turned out that the behavior is the same also in Xterm with I've checked the behavior of the terminals. I have to admit that I haven't carefully thought about the actual behavior of the keyboard protocols; the behavior I have been unconsciously expecting from the keyboard protocols seems to be different from the actual behavior.
The advanced keyboard protocols are expected to produce different sequences for TAB and C-i. In the actual terminal protocols, this turned out to be achieved by changing the sequence of C-i while keeping the sequence of TAB. Here, there is a subtlety. For an arbitrary terminal, there is no way to detect whether the advanced keyboard protocol is turned on. Then, when we receive Currently, I'm now thinking of requiring the user to explicitly configure the mapping from # ~/.blerc
ble-bind -k TAB TAB The above setting didn't actually work in the previous version of
I guess what you have tried has been
Thanks for the report. I agree that it is natural to keep the cursor at the original position. I fixed it in commit 341179d. |
@gvlassis @10b14224cc @lokxii Thanks for the report, and sorry for the delay. I've pushed a fix 365101c to the master. Could you update ble.sh by |
Just tested. Pressing esc does go to normal mode. Thx! |
Now goes to normal mode in kitty correctly for me as well. But why the changelog is in chinese? |
Thank you! |
It's not Chinese. It's Japanese, and I use Japanese because that is my native language. Also, it's not ChangeLog, but it's a development log, which I work with. ChangeLog, which the users might look, is written in English (except for the first few years). |
I think the original issues were solved, and also the additional issue in #445 (comment) was also fixed as reported by @lokxii and @10b14224cc, so let me close the issue. Thank you! |
So sorry for not replying for so long! Life happened 🥲. Yes, I confirm that the issues were solved. |
No problem! |
Hello!
I am using the latest Kitty+ble.sh, and the following keymap does not work: ble-bind -f "TAB" "complete enter_menu". However, if I change the keymap to ble-bind -f "C-i" "complete enter_menu", it works just fine. I thought that Kitty's terminal protocol was supported, alongside ModifyOtherKeys. Is this not the case?
When you enter menu-complete and you change your selection in the menu, the current selection is mirrored in the command-line (with color region_insert). Is there any way to disable this? I tried the option: complete_menu_complete_opts=hidden, and it seems to do the job, but the cursor is moved to the begining of the word in the command-line.
The text was updated successfully, but these errors were encountered: