fix(tui): replace hardcoded colors with Color::Reset (closes #666)#671
fix(tui): replace hardcoded colors with Color::Reset (closes #666)#671merchloubna70-dot wants to merge 2 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
谁家PR机器人 |
Triple-check finding: dead config fieldThe Recommendation: Either wire the field into the rendering layer (read it in |
v0.8.12: removed dead
|
The `use_terminal_colors` key was defined in config.rs and documented in config.example.toml, but no rendering code ever read it. Setting it had no effect. Remove the field until the behavior is implemented; the Color::Reset migration already applies the correct terminal-color behavior by default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Fixed — removed |
…follow-up) apply_detail_target_highlight needs a visible background to mark the selected transcript cell. Color::Reset makes it invisible since it defaults to the terminal background. Use palette::DEEPSEEK_INK instead of the original hardcoded Rgb(18,29,39). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Follow-up fix pushed: |
…al_colors config (Hmbown#671)
…terminal_colors (Hmbown#671) Neither field had any code path that read it. Shipping config knobs that do nothing trains users to mistrust config. Remove until the implementation exists.
…al_colors config (Hmbown#671)
…terminal_colors (Hmbown#671) Neither field had any code path that read it. Shipping config knobs that do nothing trains users to mistrust config. Remove until the implementation exists.
|
This PR was opened before the v0.8.41 rebrand and is now stale. Feel free to rebase onto current |
用户反馈 v0.8.10 终端颜色渲染异常(#666)。
修复两处剩余硬编码颜色:
新增 use_terminal_colors 配置项(预留,后续可全局切换)。
Closes #666
wangfengcsu@qq.com