import { Canvas } from "https://deno.land/x/tui@1.3.4/src/canvas.ts";
Change size
property, then clear frameBuffer
and previousFrameBuffer
to force re-render all of the canvas
If size
parameter matches canvas's size
property then nothing happens
Parameters
size: ConsoleSize