Repository navigation
Commit 15edceb
authored
* chat: a bare number-and-period reply draws instead of vanishing (#1072)
A model reply whose whole text was a number and a full stop (32., 1024.)
parsed as a Markdown ordered list with one empty item. renderer.list drew
the marker column, found no body, and popped the item as undrawn, taking
the marker with it, so the reply rendered to zero rows and the deck
skipped it. Draw the marker as literal text when the item body produced
nothing, which is the only case a bare <number>. reaches.
* address review: PR number in change entry, exact test assertions
- Rename change entry to 1746-... and set pr: 1746 (was the issue number).
- Assert the exact rendered output ('32.', '1024.', '1. one') instead of
just non-empty.
1 parent c240e36 commit 15edceb
3 files changed
Lines changed: 46 additions & 1 deletion
File tree
- docs/changes/unreleased
- internal/tui2/prose
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
298 | 306 | | |
299 | 307 | | |
300 | 308 | | |
| |||
0 commit comments