(msg tea.KeyPressMsg)
| 115 | var b strings.Builder |
| 116 | b.WriteString(p.styles.title.Render(title)) |
| 117 | b.WriteString("\n\n") |
| 118 | b.WriteString(styleMuted.Render(label)) |
| 119 | b.WriteString(p.input.View()) |
| 120 | if p.status != "" { |
| 121 | b.WriteString("\n\n") |
| 122 | b.WriteString(lipgloss.NewStyle().Foreground(colorError).Render(terminal.SanitizeLine(p.status))) |
| 123 | } |
| 124 | return b.String() |
| 125 | } |