Appearance
Registers a callback to be called when the process exits.
import { Term } from "@monstermann/signals-tui"; Term.onExit(() => { console.log("Process exiting"); });