MCPcopy Create free account
hub / github.com/diillson/chatcli / UpdateMessage

Method UpdateMessage

cli/animation_manager.go:138–143  ·  view source on GitHub ↗

UpdateMessage atualiza a mensagem sem parar e reiniciar a animação

(message string)

Source from the content-addressed store, hash-verified

136
137// UpdateMessage atualiza a mensagem sem parar e reiniciar a animação
138func (am *AnimationManager) UpdateMessage(message string) {
139 am.mu.Lock()
140 defer am.mu.Unlock()
141
142 am.currentMessage = message
143}
144
145// StopThinkingAnimation para a animação de forma segura
146func (am *AnimationManager) StopThinkingAnimation() {

Callers 5

processFileCommandMethod · 0.80
processDirectorySmartMethod · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 1