Repository navigation
Commit 9fd4175
fix(web): solid Powerline separators fill their terminal cell
Fallback fonts inset or scale U+E0B0 and U+E0B2, so Powerline prompts
showed a gap or a narrow bar where one segment should flow into the next.
Draw those two glyphs as triangles from the cell's own edges, keep them
out of batched text runs, and reuse the same fill when a block cursor
sits on the cell.
Takeover rebuild of the original implementation: one fill helper with
the glyph check at each call site instead of a validating helper that
returns whether it drew; the Powerline-only test is folded into one
renderer integration test.
Co-Authored-By: Claude Fable 5.1 <[email protected]>1 parent 61c0212 commit 9fd4175
2 files changed
Lines changed: 28 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
| 74 | + | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
| |||
100 | 96 | | |
101 | 97 | | |
102 | 98 | | |
103 | | - | |
| 99 | + | |
104 | 100 | | |
105 | 101 | | |
106 | 102 | | |
| |||
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | | - | |
117 | | - | |
| 112 | + | |
| 113 | + | |
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
| |||
132 | 128 | | |
133 | 129 | | |
134 | 130 | | |
| 131 | + | |
135 | 132 | | |
136 | 133 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
140 | 137 | | |
141 | 138 | | |
142 | | - | |
143 | | - | |
144 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
145 | 142 | | |
146 | 143 | | |
147 | | - | |
148 | 144 | | |
149 | 145 | | |
150 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
59 | 56 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
69 | 60 | | |
70 | 61 | | |
71 | | - | |
72 | 62 | | |
73 | 63 | | |
74 | 64 | | |
| |||
231 | 221 | | |
232 | 222 | | |
233 | 223 | | |
234 | | - | |
| 224 | + | |
235 | 225 | | |
236 | 226 | | |
237 | 227 | | |
238 | 228 | | |
239 | | - | |
240 | | - | |
| 229 | + | |
241 | 230 | | |
242 | 231 | | |
243 | 232 | | |
| |||
312 | 301 | | |
313 | 302 | | |
314 | 303 | | |
315 | | - | |
316 | 304 | | |
317 | | - | |
318 | | - | |
319 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
320 | 309 | | |
321 | 310 | | |
322 | 311 | | |
| |||
0 commit comments