- устанавливать jq автоматически, необходим для statusline-command.sh - не спрашивать GitHub PAT в пункте 1, пропускать marketplace без GITHUB_TOKEN - добавлена документация по Unicode-рендерингу статусной строки Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
1.1 KiB
Markdown
29 lines
1.1 KiB
Markdown
# Claude Code configuration
|
|
|
|
## Statusline (`statusline-command.sh`)
|
|
|
|
The custom statusline script renders **only ASCII-safe characters and ANSI color codes**:
|
|
|
|
- ASCII brackets `[ ]` for git branch and effort level
|
|
- ANSI 256-color escape sequences for model names, effort levels, and rate-limit percentages
|
|
- The `¥` symbol (U+00A5) for CNY balance in DeepSeek output
|
|
|
|
It does **not** use Nerd Font glyphs, powerline separators, or emoji.
|
|
|
|
### Unicode symbols you may see in the TUI
|
|
|
|
Some symbols that appear in the Claude Code interface are **rendered by Claude Code's own TUI**, not by this statusline script. For example, arrow symbols such as `⏵` (used before "bypass permissions on" prompts) are drawn by Claude Code itself.
|
|
|
|
If these symbols display as boxes or question marks, install a Unicode-capable font such as:
|
|
|
|
- **Noto Color Emoji** (recommended on Linux)
|
|
- Any terminal font with full Unicode support
|
|
|
|
To install Noto Color Emoji on Debian/Ubuntu:
|
|
|
|
```bash
|
|
sudo apt-get install -y fonts-noto-color-emoji
|
|
```
|
|
|
|
The statusline script itself does not require emoji fonts.
|