We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aaf9d8 commit 320f379Copy full SHA for 320f379
1 file changed
packages/opencode/src/cli/cmd/tui/context/event.ts
@@ -12,22 +12,7 @@ export function useEvent() {
12
return
13
}
14
15
- // Special hack for truly global events
16
- if (event.directory === "global") {
17
- handler(event.payload)
18
- }
19
-
20
- if (project.workspace.current()) {
21
- if (event.workspace === project.workspace.current()) {
22
23
24
25
- return
26
27
28
- if (event.directory === project.instance.directory()) {
29
30
+ handler(event.payload)
31
})
32
33
0 commit comments