function dimView codedim(str: string): stringThe text emits only a small amount of light. Parametersstr: stringView codetext to dim Warning: Not all terminal emulators support dim. For compatibility across all terminals, use gray or brightBlack instead. Return TypestringView code