fix(app): mod+f always opens search

This commit is contained in:
Adam
2026-03-05 06:57:50 -06:00
parent 2bb3dc585b
commit 3448118be8
3 changed files with 53 additions and 3 deletions

View File

@@ -234,7 +234,6 @@ export function FileTabContent(props: { tab: string }) {
if (typeof window === "undefined") return
const onKeyDown = (event: KeyboardEvent) => {
if (event.defaultPrevented) return
if (tabs().active() !== props.tab) return
if (!(event.metaKey || event.ctrlKey) || event.altKey || event.shiftKey) return
if (event.key.toLowerCase() !== "f") return