MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / SetSize

Method SetSize

internal/tui/completion.go:89–98  ·  view source on GitHub ↗

SetSize sets the screen dimensions.

(width, height int)

Source from the content-addressed store, hash-verified

87
88// SetSize sets the screen dimensions.
89func (c *CompletionScreen) SetSize(width, height int) {
90 c.width = width
91 c.height = height
92 if c.confetti != nil {
93 c.confetti.SetSize(width, height)
94 } else if c.prdName != "" && width > 0 && height > 0 {
95 // Initialize confetti now that we have real dimensions
96 c.confetti = NewConfetti(width, height)
97 }
98}
99
100// PRDName returns the PRD name shown on the completion screen.
101func (c *CompletionScreen) PRDName() string {

Calls 1

NewConfettiFunction · 0.85