@gguf/claw
Version:
WhatsApp gateway CLI (Baileys web) with Pi RPC agent
9 lines (7 loc) • 450 B
JavaScript
import { L as isRich, R as theme } from "./subsystem-CAq3uyo7.js";
//#region src/terminal/prompt-style.ts
const stylePromptMessage = (message) => isRich() ? theme.accent(message) : message;
const stylePromptTitle = (title) => title && isRich() ? theme.heading(title) : title;
const stylePromptHint = (hint) => hint && isRich() ? theme.muted(hint) : hint;
//#endregion
export { stylePromptMessage as n, stylePromptTitle as r, stylePromptHint as t };