MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / MaybeRenderEvent

Method MaybeRenderEvent

ui/runtime.go:497–504  ·  view source on GitHub ↗
(event agent.StreamEvent)

Source from the content-addressed store, hash-verified

495}
496
497func (r *UiRuntime) Flush(force bool) {
498 if !r.Dirty && !force {
499 return
500 }
501 r.refreshContextWindowFrame()
502 if r.UI != nil {
503 r.UI.Update(r.Frame)
504 }
505 r.Dirty = false
506 r.LastFlushAt = time.Now()
507}

Callers 1

RunSubmitMessageMethod · 0.95

Calls 2

UsesFrameTranscriptMethod · 0.65
RenderEventMethod · 0.65

Tested by

no test coverage detected