import { Component } from "https://deno.land/x/tui@2.1.11/src/component.ts";
Changes visibility of drawnObjects
(erases/draws them depending on {visible})
If {visible} is set to false and {remove} is set to true it deletes objects from drawnObjects