MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / refreshDebugContent

Method refreshDebugContent

internal/ui/program.go:586–592  ·  view source on GitHub ↗

refreshDebugContent re-renders the debug ring into the debug viewport. Two modes: - debugList: one line per event; the currently selected event (if any) gets a background highlight. Auto-scrolls to the bottom when not focused, follows the selection when focused. - debugDetail: the selected event's f

()

Source from the content-addressed store, hash-verified

584//
585// Cheap to call — Snapshot copies ~500 events at worst.
586func (m *harness) refreshDebugContent() {
587 if m.debugMode == debugDetail {
588 m.renderDebugDetail()
589 return
590 }
591 m.renderDebugList()
592}
593
594func (m *harness) renderDebugList() {
595 events := debug.Snapshot()

Callers 4

UpdateMethod · 0.95
toggleDebugFocusMethod · 0.95
updateDebugFocusMethod · 0.95
mouseSelectMethod · 0.95

Calls 2

renderDebugDetailMethod · 0.95
renderDebugListMethod · 0.95

Tested by

no test coverage detected