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

Make 'wrap' command queueable #32

Merged
merged 4 commits into from
Jan 11, 2022
Merged

Make 'wrap' command queueable #32

merged 4 commits into from
Jan 11, 2022

Conversation

tshino
Copy link
Owner

@tshino tshino commented Jan 11, 2022

In current implementation (v0.9.0), the kb-macro.wrap command rejects concurrent calls.
When keystrokes occurred faster than command executions, some of them are discarded.
As a result, the user is required to retry the failed inputs or to type shortcut keys slowly to avoid rejection.

The rejection was intended to stop the concurrent execution of commands.

This PR introduces command queueing so that the rejection becomes less likely to occur.

@tshino tshino merged commit 131e8a6 into main Jan 11, 2022
@tshino tshino deleted the wrap-queing branch January 11, 2022 12:56
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

Successfully merging this pull request may close these issues.

1 participant