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

[Question] It's slow to trigger win-vind function from Command-line #112

Closed
SunnyLimc opened this issue Jul 25, 2022 · 5 comments
Closed
Labels
accepted Requirement understood and waiting implementation.

Comments

@SunnyLimc
Copy link

SunnyLimc commented Jul 25, 2022

Because of #111,I try another ways to map functions from insert mode as the link described with Autohotkey.

But functions called from command line have a large delay (approximately 0.5s - 1s instead of instantly) which is inconvenient for daily using such as switch mode.

@pit-ray
Copy link
Owner

pit-ray commented Jul 28, 2022

That's right.
The the interval time of synchronous timer is hard-coded.

memread_timer_(1000'000), //1 s

In this implementation, the main process read the function name periodically in the shared memoris and the sub process write the function name passed by --func.

I would like to improve this behavior in the next version.

If you have any solutions, please let me know.

Thanks.

@github-actions
Copy link

This issue was marked as stale because it has been inactive for 60 days. If there are no comments within 14 days, it will be closed automatically.

@pit-ray pit-ray added accepted Requirement understood and waiting implementation. and removed inactive-issue labels Oct 2, 2022
@github-actions
Copy link

github-actions bot commented Dec 2, 2022

This issue was marked as stale because it has been inactive for 60 days. If there are no comments within 14 days, it will be closed automatically.

@github-actions
Copy link

This issue has been marked as stale, but has not been mentioned for 14 days, so it is closed.

@pit-ray pit-ray reopened this Dec 26, 2022
pit-ray added a commit that referenced this issue Jan 3, 2023
@pit-ray
Copy link
Owner

pit-ray commented Jan 3, 2023

The option listen_interval has been implemented for the next release and will be closed.

@pit-ray pit-ray closed this as completed Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Requirement understood and waiting implementation.
Projects
None yet
Development

No branches or pull requests

2 participants