Skip to main content
Module

x/tui/src/canvas.ts>Canvas#resizeCanvas

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
method Canvas.prototype.resizeCanvas
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