Updated Update() methods in search and card commands to use consistent type switch pattern for message handling. This improves code organization and follows Bubble Tea conventions.
Changes:
- Refactored
search.go to use nested switch statement for key handling
- Updated
expansion_list.go to match the same pattern
- Standardized quit key handling (
"ctrl+c", "esc") across components
- Improved code readability and maintainability.
Updated
Update()methods insearchandcardcommands to use consistent type switch pattern for message handling. This improves code organization and follows Bubble Tea conventions.Changes:
search.goto use nested switch statement for key handlingexpansion_list.goto match the same pattern"ctrl+c", "esc") across components