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

Usage in Deno

import { WriteStream } from "node:tty";

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

Type

number