Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cliffy/prompt/mod.ts>GenericInput#highlight

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method GenericInput.prototype.highlight
Re-export
import { GenericInput } from "https://deno.land/x/cliffy@v0.25.5/prompt/mod.ts";

Parameters

value: string | number
optional
color1: (val: string) => string = [UNSUPPORTED]
optional
color2: (val: string) => string = [UNSUPPORTED]

Returns

string