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

Method SetSuppressed

cli/animation_manager.go:38–42  ·  view source on GitHub ↗

SetSuppressed enables or disables animation suppression. When suppressed, ShowThinkingAnimation stores the message but does not start the spinner goroutine. This prevents the animation from conflicting with go-prompt's rendering.

(v bool)

Source from the content-addressed store, hash-verified

36// ShowThinkingAnimation stores the message but does not start the spinner goroutine.
37// This prevents the animation from conflicting with go-prompt's rendering.
38func (am *AnimationManager) SetSuppressed(v bool) {
39 am.mu.Lock()
40 am.suppressed = v
41 am.mu.Unlock()
42}
43
44// ShowThinkingAnimation inicia ou atualiza a animação "pensando"
45func (am *AnimationManager) ShowThinkingAnimation(message string) {

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80