🛠️Adds native macOS shortcut support for opening the search menu

This commit is contained in:
ih8sun
2025-09-30 11:44:17 -05:00
parent b2de7e96d0
commit c32dde4b87
+1 -1
View File
@@ -29,7 +29,7 @@
};
const handleKeydown = (event: KeyboardEvent) => {
if (event.ctrlKey && event.key === "k") {
if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
event.preventDefault();
inputElement?.focus();
}