Skip to content

[FEATURE]: configurable TUI padding #20230

Closed as not planned
Closed as not planned

Description

@gpid007

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The main content area, sidebar, and dialogs all use hardcoded padding values (e.g. paddingLeft={2}, paddingRight={2} in the session layout). There is no way to reduce this through tui.json.

On narrow terminals or tmux splits, the fixed 2-column padding on each side eats into usable width noticeably.

Would it be possible to expose a padding option in tui.json, similar to how scroll_speed is already configurable? Even a single integer value controlling horizontal padding would be enough.

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 31, 2026
  2. github-actions commented on Mar 31, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature request titles must start with [FEATURE]: (e.g. [FEATURE]: configurable TUI padding via tui.json)
    • Feature requests require a verification checkbox confirming the feature doesn't already exist and the issue template was used

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. changed the title [-]Feature request: configurable TUI padding via tui.json[/-] [+][FEATURE]: configurable TUI padding[/+] on Mar 31, 2026
  4. github-actions commented on Mar 31, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! Everything looks good now. We appreciate you taking the time to fix it.

  5. assigned and unassigned on Apr 26, 2026
  6. abhineet-biju commented on Apr 28, 2026

    @abhineet-biju

    I’m running into a related but slightly different case: the prompt/composer also has hardcoded vertical spacing around the textarea, which eats up valuable vertical real estate.

    Would you prefer this to be covered by this issue as part of a general TUI padding/density option, or should I open a separate issue specifically for compact vertical prompt/composer spacing?

    I’ve attached a screenshot showing the prompt/composer area I mean.

    Image
  7. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  8. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions