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