Skip to content

fix(display): disable clipboard features in termflow rendering#335

Merged
mpfaffenberger merged 3 commits intompfaffenberger:mainfrom
thomwebb:main
May 9, 2026
Merged

fix(display): disable clipboard features in termflow rendering#335
mpfaffenberger merged 3 commits intompfaffenberger:mainfrom
thomwebb:main

Conversation

@thomwebb
Copy link
Copy Markdown
Contributor

@thomwebb thomwebb commented May 9, 2026

  • Prevent termflow from enabling clipboard-related render features in both streamed and non-streamed markdown output
  • Reduce the risk of terminal side effects when rendering assistant responses in the console
  • Keep display behavior focused on text rendering while avoiding unnecessary clipboard integration

- Prevent termflow from enabling clipboard-related render features in both streamed and non-streamed markdown output
- Reduce the risk of terminal side effects when rendering assistant responses in the console
- Keep display behavior focused on text rendering while avoiding unnecessary clipboard integration
@thomwebb
Copy link
Copy Markdown
Contributor Author

thomwebb commented May 9, 2026

Resolves #333

@thomwebb thomwebb mentioned this pull request May 9, 2026
- Keep the agent server lookup on a single line for readability and consistency
- Preserve the existing bound-agent flow while making the call site easier to scan
- Avoid unnecessary line wrapping in a frequently used agent registration path
- Update display renderer expectations to include RenderFeatures(clipboard=False)
- Prevent tests from locking in OSC 52 clipboard behavior that would overwrite the user clipboard
- Keep coverage aligned with the intended rendering configuration for both console-backed and file-backed output
@mpfaffenberger mpfaffenberger merged commit 2073861 into mpfaffenberger:main May 9, 2026
2 checks passed
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.

2 participants