Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently, the TUI sidebar (right panel) can be toggled at runtime via the sidebar_toggle keybind (<leader>b by default), but there is no way to configure it to be hidden by default on startup.
Request: Add a tui.json config option to control the sidebar's initial visibility state, for example:
{
"$schema": "https://opencode.ai/tui.json",
"sidebar": {
"visible": false
}
}
Benefits:
- Users who prefer a minimal, full-width chat layout can set this once and not have to toggle it every session.
- The sidebar takes up significant horizontal space, which is especially noticeable on smaller terminal windows or when using a split-pane tmux setup.
- The toggle keybind already exists, so the underlying mechanism is in place — this just needs a way to set the initial state via config.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently, the TUI sidebar (right panel) can be toggled at runtime via the
sidebar_togglekeybind (<leader>bby default), but there is no way to configure it to be hidden by default on startup.Request: Add a
tui.jsonconfig option to control the sidebar's initial visibility state, for example:{ "$schema": "https://opencode.ai/tui.json", "sidebar": { "visible": false } }Benefits: