Deno.consoleSize
UNSTABLE: New API, yet to be vetted.
Gets the size of the console as columns/rows.
const { columns, rows } = Deno.consoleSize(Deno.stdout.rid);
function consoleSize(rid: number): {
columns: number;
rows: number;
};UNSTABLE: New API, yet to be vetted.
Gets the size of the console as columns/rows.
const { columns, rows } = Deno.consoleSize(Deno.stdout.rid);