mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #383] [MERGED] feat: add configurable exit signals for process termination #1281
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/383
Author: @msmps
Created: 12/4/2025
Status: ✅ Merged
Merged: 12/5/2025
Merged by: @kommander
Base:
main← Head:fix/lifecycle-20251203160237📝 Commits (1)
b9d75c3feat: add configurable exit signals for process termination📊 Changes
1 file changed (+29 additions, -9 deletions)
View changed files
📝
packages/core/src/renderer.ts(+29 -9)📄 Description
Description
exitSignalsoption to renderer, which specifies a list of signals that the renderer should destroy itself upon receiving.beforeExitevent. Theexitevent does not allow for more tasks to be added to the event loop, and thus theBun.sleep(200)call would be effectively ignored, preventing the captured logs from being dumped.Misc
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.