split cursors

This commit is contained in:
Travis Shears 2025-10-02 10:36:19 +02:00
parent eb2191045e
commit f74f50c148
3 changed files with 58 additions and 32 deletions

View file

@ -1,15 +1,12 @@
package gemlog
import (
"log/slog"
tea "github.com/charmbracelet/bubbletea"
)
func LoadGemlogCMD(config *Config) tea.Cmd {
return func() tea.Msg {
logs, err := listGemLogs(config)
slog.Info("Loaded gemlogs", "count", len(logs))
if err != nil {
return ErrorMsg{err}
}