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

Method noteQuery

tea.go:1378–1380  ·  view source on GitHub ↗

noteQuery records that a terminal query is about to be written, so its reply can be read before the terminal is handed back. See [Program.drainQueryReplies].

()

Source from the content-addressed store, hash-verified

1376// reply can be read before the terminal is handed back. See
1377// [Program.drainQueryReplies].
1378func (p *Program) noteQuery() {
1379 p.lastQuery.Store(time.Now().UnixNano())
1380}
1381
1382// flush flushes the output buffer to the program output.
1383func (p *Program) flush() error {

Callers 1

executeQueryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected