Last active
October 6, 2025 02:41
-
-
Save howie/618db1230261d66a87839528eee743ab to your computer and use it in GitHub Desktop.
statusline-wrapper.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # Wrapper script to properly handle ANSI escape codes for Claude Code statusline | |
| # Calls the Go binary with JSON input and ensures ANSI codes are interpreted correctly | |
| # Execute the Go statusline binary with JSON input and use printf to interpret ANSI codes | |
| printf "%b" "$(cat | "$HOME/.claude/statusline-go")" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Claude code statusline wrap