MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / formatPromptCount

Function formatPromptCount

apps/kimi-code/src/tui/commands/undo.ts:358–360  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

356}
357
358function formatPromptCount(count: number): string {
359 return `${String(count)} ${count === 1 ? 'prompt' : 'prompts'}`;
360}
361
362function showUndoLimitStatus(host: SlashCommandHost, message: string): void {
363 host.appendTranscriptEntry({

Callers 1

formatUndoLimitMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected