Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants