Commit 2e71df3
fix: footer truncates bindings to fit width instead of wrapping
On narrow terminals the joined binding string would wrap and get clipped
by the height constraint, making the footer look blank. Now bindings are
added one-by-one until the next one wouldn't fit, so the most important
hints (leftmost) are always visible.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0c5a60c commit 2e71df3
1 file changed
Lines changed: 19 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
16 | 30 | | |
| 31 | + | |
17 | 32 | | |
18 | 33 | | |
0 commit comments