MCPcopy Create free account
hub / github.com/basecamp/hey-cli / HandleContentKey

Method HandleContentKey

internal/tui/journal.go:117–122  ·  view source on GitHub ↗
(msg tea.KeyPressMsg)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected