function cropToWidthimport { cropToWidth } from "https://deno.land/x/tui@2.0.0/src/utils/mod.ts"; cropToWidth(text: string, width: number): stringCrops {text} to given {width} Parameterstext: stringwidth: numberReturnsstring