Prows
Bun

property

tty.WriteStream.rows

rows: number

A number specifying the number of rows the TTY currently has. This property is updated whenever the 'resize' event is emitted.