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

Add timeout support #295

Open
introom opened this issue May 16, 2021 · 3 comments
Open

Add timeout support #295

introom opened this issue May 16, 2021 · 3 comments

Comments

@introom
Copy link

introom commented May 16, 2021

Is it possible to add timeout support so that when which-key display is idle for 3 second, it is automatically cancelled?

@justbur
Copy link
Owner

justbur commented Jun 1, 2021

Yes, it's possible, but why would you want to remain idle in the middle of a key sequence? Or is this is another situation?

@introom
Copy link
Author

introom commented Jun 1, 2021

Some special case though, such as tmux sending keys (C-l) to all panes to clear the pane. And it happened that emacs is running in some pane. We want to cancel the C-l.

@justbur
Copy link
Owner

justbur commented Jun 1, 2021

But a which-key timeout won't cancel the key sequence. which-key is passive. It doesn't manipulate the key sequences

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

No branches or pull requests

2 participants