Skip to content

macOS iTerm2 light theme: input/status area uses black background and low-contrast text #1607

@hcchc

Description

@hcchc

问题描述

在 macOS 的 iTerm2 中使用 reasonix code 时,终端整体是浅色背景,Reasonix 配置也使用浅色主题,但底部输入框/状态栏仍然显示为黑底,输入内容和状态文字对比度较低,阅读困难。

截图中可以看到:上方主界面是浅色背景,底部输入区却是大块黑色背景。

截图

Image Image

复现步骤

  1. 在 macOS 打开 iTerm2
  2. iTerm2 使用浅色主题/Profile
  3. 进入项目目录
  4. 运行:
reasonix code

5. 在底部输入框输入内容,例如 test

## 实际结果

底部输入框和状态栏显示为黑色背景,与浅色终端主题和 Reasonix 浅色主题不一致;输入内容、提示文字和状态信息可读性较差。

## 预期结果

在浅色终端主题/浅色 Reasonix 主题下,输入框和状态栏应使用浅色背景,或者至少使用高对比度文字颜色,保证内容清晰可读。

## 环境信息

- OS: macOS 26.0.1
- macOS Build: 25A362
- Terminal: iTerm2 3.6.6
- Shell: /bin/zsh
- TERM: xterm-256color
- COLORTERM: truecolor
- Reasonix version: 0.49.0
- Reasonix 启动命令: reasonix code
- Reasonix theme 配置:

{
  "theme": "github-light"
}

## 备注

这个问题看起来像是 TUI 在浅色终端环境下没有正确适配输入区/状态栏主题,或者 github-light / light theme 只应用到了主内容区域,底部输入区域仍使用了 dark theme 的配色。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrenderingTerminal rendering / flicker / repaint issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions