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

Strange problem on opensuse-tumbleweed (Macro invokation is cancelled by decode_macro_limit) #105

Closed
thanosz opened this issue May 7, 2021 · 3 comments
Labels

Comments

@thanosz
Copy link

thanosz commented May 7, 2021

ble version: 0.4.2-devel2+267baf2
Bash version: 5.1.4(1)-release

Hi! I have noticed that it does not work in opensuse-tumbleweed. When I press '/' it seems it is processing and finally fails with "Macro invocation is cancelled bu decode_macro_limit" displayed at the top.

@thanosz thanosz changed the title Strange problem on opensuse-tumbleweed Strange problem on opensuse-tumbleweed (Macro invokation is cancelled by decode_macro_limit) May 7, 2021
@akinomyoga
Copy link
Owner

Thank you for the report! I've installed OpenSUSE Tumbleweed in my VirtualBox and confirmed the problem. I have fixed it in commit ea05fc5. It was caused because the readline macro "\eOo": "/" defined in /etc/inputrc.keys:565,744 was a duplicate of a ble.sh internal translation so has been resulted in a loop macro "/": "/". I have modified ble.sh to ignore duplicate macros.

Can you check if it works in the latest version? You can update ble.sh with ble-update in a ble.sh session (for which you need git and make):

$ sudo zypper install git make # if you haven't yet installed git or make
$ ble-update

By the way, vi-replace in vi_imap, and vi-editing-mode in vi_nmap are also supported in the latest version; these supports have been added after #89.

@akinomyoga akinomyoga added the bug label May 7, 2021
@thanosz
Copy link
Author

thanosz commented May 7, 2021

Great work @akinomyoga ! I confirm that is fixed

@thanosz thanosz closed this as completed May 7, 2021
@akinomyoga
Copy link
Owner

Great. Thank you for the check!

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

No branches or pull requests

2 participants