Constants§
- RESET
- ANSI reset code
Functions§
- get_
terminal_ width - Get terminal width, returns default from config as fallback
- get_
thinking_ mode_ enabled - Read thinking mode setting from ~/.claude/settings.json
- get_
username - Get current username from environment
- truncate_
with_ ellipsis - Truncate string with ellipsis while preserving ANSI codes
- visible_
len - Calculate visible width in terminal columns (strips ANSI and measures Unicode width)