Skip to content

Conversation

@eirikb
Copy link

@eirikb eirikb commented Nov 1, 2025

Summary

Hi there.
This PR adds three new TUI config options for customizing the interface:

  • tui.hide_startup_tips - Hide the startup command tips (defaults to false)
  • tui.hide_session_header - Hide the session header with version/model info (defaults to false)
  • tui.input_placeholder - Set a custom input placeholder instead of random examples (optional)

Making it go from this:

image

to this:
image

Changes

  • Added config fields to the Tui struct and wired through Config
  • Updated chat widget, footer, and history cell rendering to respect these settings
  • Added documentation to docs/config.md
  • Added tests for config parsing

Testing

  • All config tests pass (75 tests)
  • cargo build --all-targets succeeds
  • cargo fmt -- --config imports_granularity=Item
  • cargo clippy --tests
  • Manually tested each option in the TUI

Adds three new config options under [tui]:
- hide_startup_tips: Hide the startup command examples
- hide_session_header: Hide the version/model header
- input_placeholder: Custom placeholder instead of random examples
@github-actions
Copy link

github-actions bot commented Nov 1, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@eirikb
Copy link
Author

eirikb commented Nov 1, 2025

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Nov 1, 2025
@etraut-openai
Copy link
Collaborator

Thanks for the contribution. We've updated our contribution guidelines to clarify that we're currently accepting contributions for bugs and security fixes, but we're not generally accepting new features at this time. We need to make sure that all new features compose well with both existing and upcoming features and fit into our roadmap. If you would like to propose a new feature, please file or upvote an enhancement request in the issue tracker. We will generally prioritize new features based on community feedback.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2025
@openai openai unlocked this conversation Nov 1, 2025
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