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

Allow handler to determine how it was invoked #48

Open
rouilj opened this issue Feb 15, 2023 · 0 comments
Open

Allow handler to determine how it was invoked #48

rouilj opened this issue Feb 15, 2023 · 0 comments

Comments

@rouilj
Copy link
Contributor

rouilj commented Feb 15, 2023

Right now the handler function doesn't get any argument. Would it be possible to have the handler
get information about how it was invoked. The use case is to allow the user to search for recent pages
that were accessed.

If the user hit enter or clicked on the entry the selected page from the command menu replaces the current page.
If he user crtl+click or ctlr+entered to select the page from command-pal, the page would be opened in a new
window/tab instead.

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

1 participant