Skip to content

WIP: Incremental markdown rendering#1687

Draft
endolith wants to merge 9 commits intoopeninterpreter:mainfrom
endolith:classic/incremental_markdown
Draft

WIP: Incremental markdown rendering#1687
endolith wants to merge 9 commits intoopeninterpreter:mainfrom
endolith:classic/incremental_markdown

Conversation

@endolith
Copy link
Contributor

@endolith endolith commented Feb 7, 2026

Describe the changes you have made:

WIP for rendering blocks of markdown as they are streamed, to avoid the screen refreshing constantly when the incoming text exceeds the screen height.

Streams the incoming markdown as plain text in a limited-height buffer and then when it detects a complete block it replaces the plain text with the rich-rendered text.

Doesn't support executable code blocks yet.

Still has bugs like repeating text or overwriting text.

WindowsTerminal_Kz72aH4B6M

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@endolith endolith marked this pull request as draft February 7, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant