You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add VHS-based demo GIF recording and show both themes in README
Record demo GIFs using VHS (xterm.js via headless Chromium), which
renders Unicode fractional block characters algorithmically instead of
via font glyph outlines. Uses zenwritten dark/light themes for good
ANSI color contrast. Both demos shown side by side in the README.
@@ -19,7 +21,7 @@ Three bars with sub-cell precision using Unicode fractional block characters:
19
21
| 5-hour usage | Rolling rate limit utilization | Time until reset, git branch/changes, lines added/removed |
20
22
| Weekly usage | Rolling 7-day rate limit utilization | Time until reset, current directory |
21
23
22
-
Bars shift green → yellow → orange → red as usage increases. Stale data (API unreachable) is prefixed with `~`. Works with Pro, Max 5x, Max 20x, and Team subscriptions. API key users see an "API" label with context bar only.
24
+
Bars shift green to red as usage increases. Stale data (API unreachable) is prefixed with `~`. Works with Pro, Max 5x, Max 20x, and Team subscriptions. API key users see an "API" label with context bar only.
|`progressLength`|`12`| Bar width in characters (3–40) |
61
+
|`progressLength`|`12`| Bar width in characters (3--40) |
60
62
|`colorMode`|`"auto"`|`"auto"` (detect via `COLORTERM`), `"truecolor"`, or `"256"`|
61
63
|`colors`| built-in | Array of color entries (see below) |
62
64
@@ -66,12 +68,12 @@ Each entry in the `colors` array is matched against the current terminal. First
66
68
67
69
| Field | Required | Description |
68
70
|---|---|---|
69
-
|`gradient`| Yes | Color stops: `[R,G,B]` arrays for truecolor, or integers (0–255) for 256-color |
70
-
|`bg`| No | Empty bar background: `[R,G,B]` for truecolor, or integer (0–255) for 256-color |
71
+
|`gradient`| Yes | Color stops: `[R,G,B]` arrays for truecolor, or integers (0--255) for 256-color |
72
+
|`bg`| No | Empty bar background: `[R,G,B]` for truecolor, or integer (0--255) for 256-color |
71
73
|`dark-mode`| No | Match dark (`true`) or light (`false`) terminals only |
72
74
|`true-color`| No | Match truecolor (`true`) or 256-color (`false`) terminals only |
73
75
74
-
Truecolor gradients are smoothly interpolated between stops — 3 stops (green, yellow, red) is enough for a smooth bar. 256-color gradients snap to the nearest stop.
76
+
Truecolor gradients are smoothly interpolated between stops -- 3 stops (green, yellow, red) is enough for a smooth bar. 256-color gradients snap to the nearest stop.
75
77
76
78
To preview your current gradient: `howmuchleft --test-colors`
0 commit comments