scroll/src/bun/mod.ts

10 lines
181 B
JavaScript
Raw Normal View History

2023-10-31 14:47:59 -04:00
/**
* The main entrypoint when using Bun as the runtime
2023-10-31 14:47:59 -04:00
*/
export * from './terminal_io.ts';
export const onExit = (cb: () => void): void => {
process.on('beforeExit', cb);
};