MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / execute

Method execute

tea.go:1323–1328  ·  view source on GitHub ↗

execute writes the given sequence to the program output.

(seq string)

Source from the content-addressed store, hash-verified

1321
1322// execute writes the given sequence to the program output.
1323func (p *Program) execute(seq string) {
1324 p.mu.Lock()
1325 _, _ = p.outputBuf.WriteString(seq)
1326 p.mu.Unlock()
1327 p.wakeRenderer()
1328}
1329
1330// executeQuery writes a terminal query to the program output. Queries expect a
1331// reply on p.input, so when input is disabled the query is skipped: the

Callers 2

eventLoopMethod · 0.95
executeQueryMethod · 0.95

Calls 1

wakeRendererMethod · 0.95

Tested by

no test coverage detected