feat: TUI enhancements - editor, markdown, tool styling#307
Merged
dwash96 merged 4 commits intocecli-dev:mainfrom Dec 24, 2025
Merged
feat: TUI enhancements - editor, markdown, tool styling#307dwash96 merged 4 commits intocecli-dev:mainfrom
dwash96 merged 4 commits intocecli-dev:mainfrom
Conversation
…g.key_binding.editor configurability, with ctrl+o as default.
- Add render_markdown option in tui-config.other (default: false)
- Support markdown rendering in both streaming and non-streaming modes
- Override assistant_output in TUI IO to route through streaming path
- Fix bug in _stop_stream (self.rstrip -> self._line_buffer.rstrip)
Configure via tui-config YAML:
tui-config:
other:
render_markdown: true
- Buffer tool call messages and render with themed styling - Format: "Tool Call · server · function" with accent color - Arguments shown with "⎿" connector prefix - Tool results displayed separately with dim styling - Integrates with existing TUI theme system (#00ff87 accent)
- Use run_obstructive to properly suspend TUI when running interactive commands - Notify user before suspension with "Suspending TUI for interactive command" - Prevents TUI elements from interfering with PTY-based commands
Author
|
Quick update: fix: suspend TUI for interactive commands
|
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/editorandctrl+oshortcut properly suspend TUI when launching external editortui-config.other.render_markdownTool Call · server · functionwith⎿connector)Configuration