Skip to main content
WriteStream.prototype.rows - tty - Node documentation
property WriteStream.prototype.rows

Usage in Deno

import { WriteStream } from "node:tty";

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

Type

number