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

Method execute

tea.go:1351–1356  ·  view source on GitHub ↗

execute writes the given sequence to the program output.

(seq string)

Source from the content-addressed store, hash-verified

1349
1350// execute writes the given sequence to the program output.
1351func (p *Program) execute(seq string) {
1352 p.mu.Lock()
1353 _, _ = p.outputBuf.WriteString(seq)
1354 p.mu.Unlock()
1355 p.wakeRenderer()
1356}
1357
1358// executeQuery writes a terminal query to the program output. Queries expect a
1359// 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