feat: keep what was loaded between runs, and start where you left off

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kebandClaude Opus 5.5 committed 2026-10-11 09:32:55 +02:00
1 parent 6fab41703e
commit d6c4b33d1d
11 files changed
+506 -13

No files matched your search

+6 -1
View File
@@ -43,6 +43,9 @@ type nav struct {
sourceRow string // Sources row to select
stage navStage
// quiet gives up without a word: going back to where lazysecrets
// was left, which may be gone.
quiet bool
}
type resolvedMsg struct {
@@ -460,7 +463,9 @@ func (m *Model) addLinked(c provider.Container) {
}
func (m *Model) navFail(format string, a ...any) {
m.flash = flash{text: "open: " + fmt.Sprintf(format, a...), isErr: true}
if !m.nav.quiet {
m.flash = flash{text: "open: " + fmt.Sprintf(format, a...), isErr: true}
}
m.nav = nil
}