Commit 46e9599
fix: make upgrade indicator responsive for small screens
On narrow terminals (<100 cols), hide "update available ·" text and
show only the essential: ↑ 0.6.0 altimate upgrade
Wide (100+): ↑ 0.6.0 update available · altimate upgrade
Narrow (<100): ↑ 0.6.0 altimate upgrade
Uses useTerminalDimensions() for reactive width detection.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cfa8c70 commit 46e9599
1 file changed
Lines changed: 7 additions & 1 deletion
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
0 commit comments