[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

chore(format): organize imports

Nate Moore (Dec 13, 2024, 11:38 PM -0600) a0e28acb b2d6d062

+3 -3
+1 -1
examples/basic/index.ts
··· 1 - import * as p from '@clack/prompts'; 2 1 import { setTimeout } from 'node:timers/promises'; 2 + import * as p from '@clack/prompts'; 3 3 import color from 'picocolors'; 4 4 5 5 async function main() {
+1 -1
examples/changesets/index.ts
··· 1 - import * as p from '@clack/prompts'; 2 1 import { setTimeout } from 'node:timers/promises'; 2 + import * as p from '@clack/prompts'; 3 3 import color from 'picocolors'; 4 4 5 5 function onCancel() {
+1 -1
packages/core/src/prompts/prompt.ts
··· 5 5 import { cursor, erase } from 'sisteransi'; 6 6 import wrap from 'wrap-ansi'; 7 7 8 - import { ALIASES, CANCEL_SYMBOL, diffLines, hasAliasKey, KEYS, setRawMode } from '../utils'; 8 + import { ALIASES, CANCEL_SYMBOL, KEYS, diffLines, hasAliasKey, setRawMode } from '../utils'; 9 9 10 10 import type { ClackEvents, ClackState, InferSetType } from '../types'; 11 11