feat(tui): add header visibility toggle#7798
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
|
@hiromesh If you rebase, I'll test. |
6fa92d0 to
b07e7f2
Compare
done |
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
|
Yes, better now. I do prefer having the menu option vs my config setting. Makes working on a shorter terminal much much better. |
Thanks for the review! glad you find it useful. |
Hi @jasonish , any update on this pr? Let me know if you need anything else from me |
It's up to the OpenCode team now. Not having this actually keeps me from using OpenCode as much as I might. |
|
Apparently, a more minimal cli/tui is in the works? https://x.com/thdxr/status/2020715330289778956. Which might mean this isn't really needed. But still a nice to have. |
2661d70 to
908e554
Compare
That minimal TUI looks exciting! While that's in the works, this toggle still feels like a solid 'nice to have' for users who want to clear some vertical space right now. Also, just an update: based on Ariane Emory's feedback on Discord, I’ve moved the toggle to the 'System' section in the command palette to keep it consistent with the other persistent menu items. Thanks again for the review! |
Sounds good. I was happy with just having to manually edit the config as its a set once and forget setting for me. Will try to test your change in the next day or so. |
Thanks for testing, appreciate it! |
|
Fixed by #13244. It's too bad prior work was referenced. |



Add option to toggle session header visibility in TUI. Fixes #7536
The header shows session title, token usage, and cost at the top of the session view. Users can now hide it via command panel (ctrl+p).
Changes:
header_visibleconfig stored in KVHow to test:
opencodeand start a sessionctrl+pto open command palette