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

Function dim

apps/kimi-code/src/tui/utils/shell-output.ts:54–54  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

52export function formatBashOutputForDisplay(stdout: string, stderr: string, isError?: boolean): string {
53 try {
54 const dim = (s: string): string => currentTheme.fg('textDim', s);
55 const parts: string[] = [];
56 const cleanStdout = sanitizeShellOutput(stdout).trimEnd();
57 if (cleanStdout.length > 0) parts.push(dim(cleanStdout));

Callers 15

renderMethod · 0.50
renderMethod · 0.50
renderMethod · 0.50
renderTextMethod · 0.50
appendLinesMethod · 0.50
buildHeaderMethod · 0.50
buildBodyLineMethod · 0.50
readMediaSummaryFunction · 0.50
renderFooterMethod · 0.50
renderFooterMethod · 0.50

Calls 1

fgMethod · 0.80

Tested by

no test coverage detected