MCPcopy Index your code
hub / github.com/docker/docker-agent / SetProgram

Method SetProgram

pkg/tui/tui.go:496–499  ·  view source on GitHub ↗

SetProgram sets the tea.Program for the supervisor to send routed messages.

(p *tea.Program)

Source from the content-addressed store, hash-verified

494
495// SetProgram sets the tea.Program for the supervisor to send routed messages.
496func (m *appModel) SetProgram(p *tea.Program) {
497 m.program = p
498 m.supervisor.SetProgram(p)
499}
500
501// reapplyKeyboardEnhancements forwards the cached keyboard enhancements message
502// to the active chat page and editor so new/replaced instances pick up the

Callers

nothing calls this directly

Calls 1

SetProgramMethod · 0.65

Tested by

no test coverage detected