MCPcopy
hub / github.com/charmbracelet/bubbletea / execute

Method execute

tea.go:1214–1218  ·  view source on GitHub ↗

execute writes the given sequence to the program output.

(seq string)

Source from the content-addressed store, hash-verified

1212
1213// execute writes the given sequence to the program output.
1214func (p *Program) execute(seq string) {
1215 p.mu.Lock()
1216 _, _ = p.outputBuf.WriteString(seq)
1217 p.mu.Unlock()
1218}
1219
1220// flush flushes the output buffer to the program output.
1221func (p *Program) flush() error {

Callers 2

eventLoopMethod · 0.95
RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected