環境変数

CLAUDE_CODE_TMUX_TRUECOLOR

1 など任意の空でない値を設定すると、tmux 内での 24 ビットトゥルーカラー出力を許可する。多くのオン/オフ変数とは異なり、**0 または false に設定してもトゥルーカラーは許可されたまま**である。256 色への制限に戻すには変数を未設定にする。tmux は設定しない限りトゥルーカラーのエスケープシーケンスを通過させないため、既定では $TMUX が設定されていると Claude Code は 256 色に制限する。~/.tmux.conf に set -ga terminal-overrides ',*:Tc' を追加した後にこれを設定する。他の tmux 設定については Terminal configuration を参照。

英語原文(公式ドキュメントより)

Set to any non-empty value, such as 1, to allow 24-bit truecolor output inside tmux. **Setting it to 0 or false still allows truecolor**, unlike most on/off variables; unset the variable to restore the 256-color clamp. By default, Claude Code clamps to 256 colors when $TMUX is set because tmux does not pass through truecolor escape sequences unless configured to. Set this after adding set -ga terminal-overrides ',*:Tc' to your ~/.tmux.conf. See Terminal configuration for other tmux settings

まだ変更履歴との関連付けはありません