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

Function notifyDebugUI

main.go:76–80  ·  view source on GitHub ↗

notifyDebugUI sends a DebugToggleMsg into the running program so it recomputes layout. Called from /debug after flipping state.

()

Source from the content-addressed store, hash-verified

74// notifyDebugUI sends a DebugToggleMsg into the running program so it
75// recomputes layout. Called from /debug after flipping state.
76func notifyDebugUI() {
77 if activeProgram != nil {
78 activeProgram.Send(ui.DebugToggleMsg{})
79 }
80}
81
82// envTruthy reports whether an env var is set to a value humans normally
83// mean as "yes". Kept tiny on purpose: the harness has no central config

Callers 1

cmdDebugFunction · 0.85

Calls 1

SendMethod · 0.65

Tested by

no test coverage detected