Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tui/src/utils/mod.ts>fitsInRectangle

🦕 Deno module for creating Terminal User Interfaces
Latest
function fitsInRectangle
import { fitsInRectangle } from "https://deno.land/x/tui@2.1.11/src/utils/mod.ts";

Check whether {column} and {row} fit in {rectangle} boundaries

Parameters

column: number
row: number
rectangle: Rectangle

Returns

boolean