Skip to content

Commit 4b82529

Browse files
Apply PR #18527: fix(core): restore SIGHUP exit handler (#16057)
2 parents 131f2f4 + 9f1f625 commit 4b82529

File tree

1 file changed

+1
-0
lines changed
  • packages/opencode/src/cli/cmd/tui/context

1 file changed

+1
-0
lines changed

packages/opencode/src/cli/cmd/tui/context/exit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const { use: useExit, provider: ExitProvider } = createSimpleContext({
5353
message: store,
5454
},
5555
)
56+
process.on("SIGHUP", () => exit())
5657
return exit
5758
},
5859
})

0 commit comments

Comments
 (0)