qwen-code/packages/cli/src/ui
Amir Hardon 1c486a4050 Fix: Prevent CLI from crashing when a configured theme is not found
Previously, if a theme specified in the user's settings was not found, the CLI would crash during startup. This was particularly affecting users upgrading from older versions as the "ANSI colors only" theme was renamed to "ANSI".

This commit adds error handling to catch the theme not found error during initial loading and when setting themes later. Instead of crashing, the application now logs a warning, displays an error message in the UI, and opens the theme selection dialog to allow the user to choose a valid theme.
2025-05-08 22:33:46 -07:00
..
components UI Polish for theme selector (#294) 2025-05-08 16:00:55 -07:00
hooks Fix: Prevent CLI from crashing when a configured theme is not found 2025-05-08 22:33:46 -07:00
themes UI Polish for theme selector (#294) 2025-05-08 16:00:55 -07:00
utils Fix bugs from useGeminiStream refactor (#284) 2025-05-07 21:15:41 -07:00
App.tsx Fix: Prevent CLI from crashing when a configured theme is not found 2025-05-08 22:33:46 -07:00
colors.ts UI Polish for theme selector (#294) 2025-05-08 16:00:55 -07:00
constants.ts Add apache2 SPDX headers to all source files (#48) 2025-04-18 17:44:24 -07:00
types.ts Fix flicker in iterm2 (#266) 2025-05-07 12:57:19 -07:00