Skip to content

height

A memo signal that returns the current terminal height in rows.

Example

ts
import { Term } from "@monstermann/signals-tui";

const h = Term.height();
console.log(h); // Terminal height