import { $consoleSize } from "https://deno.land/x/dxx@rf/src/lib/$locals.ts";
const { consoleSizeViaTPUT } = $consoleSize;
Get the size of the console as columns/rows, using the tput
shell command.
const { columns, rows } = await consoleSizeViaTPUT();
Returns
Promise<ConsoleSize | undefined>