Artifact 4976980114723c0763c629f70c54ec4fc467d82f1cb6330a98404e18280fa55c:
- File
test/tui/streams/markdown.sse
— part of check-in
[e6887db767]
at
2026-11-19 22:44:19
on branch tui-parity-2
— TUI: closer to Pi, round 2
!cmd runs a command and adds its output to the next message; !!cmd runs it without. Editor: a kill ring (Ctrl+K, Ctrl+U, Ctrl+W, Alt+D into it; Ctrl+Y, Alt+Y out), undo (Ctrl+-), Ctrl+] to jump to a character, Ctrl+G to edit in $VISUAL or $EDITOR, Ctrl+Z to suspend. Markdown: tables, ordered and nested lists, quotes, italics, strikethrough, links (OSC 8 where the terminal draws them), code-fence labels; user messages on a background. Alt+Up restores queued messages. Startup shows Pi's key hints and the loaded context files, skills and prompt templates, and sets the terminal title. Double Esc opens /tree, Shift+Ctrl+P cycles models backwards, Ctrl+X copies the last reply. (user: dmestas, size: 926) [annotate] [blame] [check-ins using] [more...]
event: message_start data: {"type":"message_start","message":{"id":"msg_md","type":"message","role":"assistant","model":"claude-opus-5-5","content":[],"stop_reason":null,"usage":{"input_tokens":30,"output_tokens":1}}} event: content_block_start data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}} event: content_block_delta data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"# Heading\n\nSome *italic* and **bold** with a [link](https://example.com/page).\n\n1. first\n2. second\n\n> quoted words\n\n| name | qty |\n|---|---|\n| apple | 3 |\n| pear | 12 |\n\n```python\nprint('hi')\n```\n"}} event: content_block_stop data: {"type":"content_block_stop","index":0} event: message_delta data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"output_tokens":20}} event: message_stop data: {"type":"message_stop"}