Skip to content

Commit 56644be

Browse files
authored
fix(core): restore SIGHUP exit handler (anomalyco#16057) (anomalyco#18527)
1 parent 00d3b83 commit 56644be

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/opencode/src/cli/cmd/tui/context

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)