MCPcopy Index your code
hub / github.com/codeaashu/claude-code / transitionStyle

Function transitionStyle

src/ink/log-update.ts:482–493  ·  view source on GitHub ↗
(
  diff: Diff,
  stylePool: StylePool,
  currentId: number,
  targetId: number,
)

Source from the content-addressed store, hash-verified

480}
481
482function transitionStyle(
483 diff: Diff,
484 stylePool: StylePool,
485 currentId: number,
486 targetId: number,
487): number {
488 const str = stylePool.transition(currentId, targetId)
489 if (str.length > 0) {
490 diff.push({ type: 'styleStr', str })
491 }
492 return targetId
493}
494
495function readLine(screen: Screen, y: number): string {
496 let line = ''

Callers 2

renderMethod · 0.85
renderFrameSliceFunction · 0.85

Calls 2

transitionMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected