@brenoxp/cc-statusline 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/index.js +44 -44
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,9 +33,11 @@
|
|
|
33
33
|
## Requirements
|
|
34
34
|
|
|
35
35
|
- macOS (uses `security` for keychain access)
|
|
36
|
-
- Node.js 18+
|
|
36
|
+
- [Bun](https://bun.sh/) (recommended) or Node.js 18+
|
|
37
37
|
- Terminal with truecolor (24-bit) support
|
|
38
38
|
|
|
39
|
+
Bun is recommended: nib-ink uses `Bun.stringWidth` on its unicode width fallback path. Under node, a built-in polyfill counts code points instead — works for all input but under-counts wide chars (CJK, emoji), which can cause off-by-one truncation. Stick with bun for pixel-perfect rendering when prompts contain wide chars.
|
|
40
|
+
|
|
39
41
|
## Install
|
|
40
42
|
|
|
41
43
|
```bash
|
|
@@ -69,7 +71,7 @@ bun run build
|
|
|
69
71
|
{
|
|
70
72
|
"statusLine": {
|
|
71
73
|
"type": "command",
|
|
72
|
-
"command": "
|
|
74
|
+
"command": "bun /path/to/claude-code-statusline/dist/index.js"
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
```
|