7 tea "charm.land/bubbletea/v2"
10type Cursor interface {
16 Update(tea.Msg) (Model, tea.Cmd)
20func CmdHandler(msg tea.Msg) tea.Cmd {
21 return func() tea.Msg {
26func ReportError(err error) tea.Cmd {
27 slog.Error("Error reported", "error", err)
28 return CmdHandler(InfoMsg{
37 InfoTypeInfo InfoType = iota
44func ReportInfo(info string) tea.Cmd {
45 return CmdHandler(InfoMsg{
51func ReportWarn(warn string) tea.Cmd {
52 return CmdHandler(InfoMsg{
64 ClearStatusMsg struct{}
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list