Pdrain
Bun

property

TerminalOptions.drain

drain?: (terminal: Terminal) => void

Callback invoked when the terminal is ready to receive more data.