What happened?
If I type:
the input editor shows it correctly before submit, but after submit the rendered user message displays:
Screenshot-Proof:

The clanker thinks this is the problem:
Likely cause
In v0.75.5, UserMessageComponent renders user prompts through Markdown:
- src/modes/interactive/components/user-message.ts
The shared Markdown renderer then computes ordered-list bullets using the list start plus the item index:
- @earendil-works/pi-tui/src/components/markdown.ts
- renderList()
- const bullet = token.ordered ? ${startNumber + i}.
: "- ";
That discards the original marker from item.raw, where marked still has the typed marker.
Steps to reproduce
Write
Expected behavior
Tui should print out the same
Version
0.75.5
What happened?
If I type:
the input editor shows it correctly before submit, but after submit the rendered user message displays:
Screenshot-Proof:

The clanker thinks this is the problem:
Likely cause
In v0.75.5, UserMessageComponent renders user prompts through Markdown:
The shared Markdown renderer then computes ordered-list bullets using the list start plus the item index:
: "- ";That discards the original marker from item.raw, where marked still has the typed marker.
Steps to reproduce
Write
Expected behavior
Tui should print out the same
Version
0.75.5