MCPcopy Create free account
hub / github.com/codeaashu/claude-code / fullResetSequence_CAUSES_FLICKER

Function fullResetSequence_CAUSES_FLICKER

src/ink/log-update.ts:503–513  ·  view source on GitHub ↗
(
  frame: Frame,
  reason: FlickerReason,
  stylePool: StylePool,
  debug?: { triggerY: number; prevLine: string; nextLine: string },
)

Source from the content-addressed store, hash-verified

501}
502
503function fullResetSequence_CAUSES_FLICKER(
504 frame: Frame,
505 reason: FlickerReason,
506 stylePool: StylePool,
507 debug?: { triggerY: number; prevLine: string; nextLine: string },
508): Diff {
509 // After clearTerminal, cursor is at (0, 0)
510 const screen = new VirtualScreen({ x: 0, y: 0 }, frame.viewport.width)
511 renderFrame(screen, frame, stylePool)
512 return [{ type: 'clearTerminal', reason, debug }, ...screen.diff]
513}
514
515function renderFrame(
516 screen: VirtualScreen,

Callers 1

renderMethod · 0.85

Calls 1

renderFrameFunction · 0.85

Tested by

no test coverage detected