bubbles icon indicating copy to clipboard operation
bubbles copied to clipboard

(v2) Add focus status to textarea's setPromptFunc

Open meowgorithm opened this issue 5 months ago • 0 comments

This gives focus status to the prompt. We may want to reexamine this and add more metadata.

// Before
func (m *Model) SetPromptFunc(promptWidth int, fn func(lineIndex int) string)

// After
func (m *Model) SetPromptFunc(promptWidth int, fn func(lineIndex int, focused bool) string)

meowgorithm avatar Jun 03 '25 12:06 meowgorithm