Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/question/util.ts>highlightText

A module for deno to make interactive prompts in the terminal
Latest
function highlightText
import { highlightText } from "https://deno.land/x/question@0.0.2/util.ts";

Parameters

text: string
optional
unnamed 1: { shouldHighlight?: boolean; reset?: boolean; color?: Color; underline?: boolean; } = [UNSUPPORTED]