fix: an opened link ends on the secret's details, also when its lists were loaded (#93)

Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #93.
This commit is contained in:
keb authored and keb committed 2026-10-27 15:42:38 +01:00
1 parent dfe6c9ce7a
commit 831031bb48
2 files changed
+19 -1

No files matched your search

+5 -1
View File
@@ -643,7 +643,11 @@ func (m *Model) advanceNav() bool {
}
}
if n.link {
m.focus = paneDetail // after: copying acts on the focused pane
// After: copying acts on the focused pane. The details describe
// the secret: when its lists were loaded already, the open got
// here in one update, and the Secrets pane was never the last
// left pane in focus.
m.lastLeft, m.focus = paneSecrets, paneDetail
}
return true
}