Default Enter to opening the selected vault

This commit is contained in:
Joe Julian
2026-03-29 15:33:41 -07:00
parent 92e8fce0e7
commit fc9580403d
2 changed files with 68 additions and 0 deletions
+8
View File
@@ -45,6 +45,14 @@ func (u *ui) handleKeyPress(name key.Name, modifiers key.Modifiers) bool {
if u.handleShortcutKey(name, modifiers) {
return true
}
if u.shouldShowLifecycleSetup() && name == key.NameReturn {
if u.lifecycleMode == "remote" {
u.runAction("open remote vault", u.openRemoteAction)
} else {
u.runAction("open vault", u.openVaultAction)
}
return true
}
switch name {
case key.NameTab: