timc1 / kbar

fast, portable, and extensible cmd+k interface for your site
https://kbar.vercel.app
MIT License
4.87k stars 184 forks source link

Detect when a command was performed via keyboard shortcut versus the command list #303

Closed kad3nce closed 1 year ago

kad3nce commented 1 year ago

For our event tracking, we'd like to know if users are utilizing the global keyboard shortcuts or just selecting commands from the list. Is there a way to detect in a command handler whether it was invoked via keyboard shortcut or not?

stale[bot] commented 1 year ago

Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.