Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

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

Parameters

column: number
row: number
optional
rectangle: Rectangle

Returns

boolean