feat(tui): more ways to quit

This commit is contained in:
adamdotdevin 2025-07-16 14:20:19 -05:00
commit f7dd48e60d
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
4 changed files with 8 additions and 10 deletions

View file

@ -336,7 +336,7 @@ func LoadFromConfig(config *opencode.Config) CommandRegistry {
Name: AppExitCommand,
Description: "exit the app",
Keybindings: parseBindings("ctrl+c", "<leader>q"),
Trigger: []string{"exit", "quit"},
Trigger: []string{"exit", "quit", "q"},
},
}
registry := make(CommandRegistry)