Skip to content

TUI has too much padding everywhere and unnecessary large height elements #9955

Closed as not planned

Description

@nitg16

Description

TUI has poor optimization of vertical space on desktops and laptops.

There are too many elements with too much spacing. The top line and bottom line can be consolidated into one. It is being done by all other cli agents.

The actual message chat log with scrollbar is rendered in only half of the vertical space.

Please give us an alternate condensed layout for desktops or ability to use custom CSS/styling files.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 22, 2026
  2. github-actions commented on Jan 22, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. berenar commented on Jan 22, 2026

    @berenar
    Contributor

    I agree; it could be improved for smaller screens. It looks fine on a 27" display, but on my 14" laptop screen, I miss more content vertically.

  4. pierrecorsini commented on Jan 30, 2026

    @pierrecorsini
    Image

    That's what you'll get on a small terminal, plenty of wasted place and a broken input layout.

  5. jrunning commented on Feb 2, 2026

    @jrunning

    This is definitely needed. Another use case: I’ve been trying to use OpenCode from my phone (iPhone 16) over ssh.

    Image

    I have about 23 lines of vertical space to work with and 11 of those—almost half—are whitespace. Horizontally it’s not as bad, but it still looks like 9 of 49 columns—18%—are padding.

    I can improve this somewhat by using a smaller font, but frankly I’d rather not strain my eyes every time I use OpenCode.

    I think OpenCode looks great on a big screen, but I really hope a “compact” mode can be added for those times when a big viewport isn’t an option.

  6. encodexdev commented on Feb 13, 2026

    @encodexdev

    I've implemented this feature as a boolean config option tui.no_terminal_padding_x that removes horizontal padding in the terminal interface.

    Implementation approach:

    • Added config schema option in config.ts under the tui namespace (consistent with existing tui.diff_style pattern)
    • Created CSS rules in no-padding-x.css that target terminal containers via data attribute
    • Integrated config value with TUI rendering to apply data-no-terminal-padding-x attribute and conditionally remove padding

    Before design review approval, I'd like feedback on:

    1. Should this be a boolean, or support different padding values (e.g., 0, 1, 2)?
    2. Is the tui namespace the right location for this setting?
    3. Any concerns about removing padding entirely vs. just reducing it?

    Example config:

    {
      "tui": {
        "no_terminal_padding_x": true
      }
    }

    I'm working on local testing with bun dev and will provide screenshots once verified.

  7. FurryWolfX commented on Mar 14, 2026

    @FurryWolfX

    Agree.
    I want the TUI to be customizable.

  8. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  9. amin-abbasiy commented on Jun 23, 2026

    @amin-abbasiy

    There are too many graphics and moving part and sections, I like to have simpler option or ability to customize it myself, to something feels more like a terminal based tool.

  10. drewhamlett commented on Jul 19, 2026

    @drewhamlett
    Image

    Yea it's really insane how much space everything takes. Only thing that is keeping me from using it. I basically have like 1/4th of the space to read what the agent is asking or summarizing. Yea I have my font size kind of big but that's how I use every other TUI and it's fine.

    Edit:

    Actually just found out about opencode2 mini. My dreams have come true!

  11. simonklee commented on Jul 22, 2026

    @simonklee
    Member

    Actually just found out about opencode2 mini. My dreams have come true!

    screenrecording-2026-07-22_13-18-36.mp4
  12. github-actions commented on Sep 21, 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