-
Notifications
You must be signed in to change notification settings - Fork 56
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
How to refocus / close and reopen prompt #20
Comments
Try this code to refocus prompt.
And if you want C-g to force close the opened prompt, paste the code below to the bottom of your .keysnail.js file.
prompt.finish(true) close the opened prompt. |
perfect. any reason something like this isn't built in? seems really weird that there is no way to toggle it without the mouse (considering the extensions purpose) |
No reason. Just I hadn't thought of it :) |
super cool, thanks. |
If i have a keysnail prompt open and it loses focus, I have no idea how to get back to it, or close and reopen it. Is there a simple solution for this that I am missing?
An example of what I mean: I hit M-x then decide to ctrl-tab to a different tab, the prompt will be up but the page in the new tab will have focus, then I have no way back to the prompt. C-g doesn't kill it, and M-x again yeilds: "Prompt is already in use by another command."
The text was updated successfully, but these errors were encountered: