Skip to content

Create more vertical space by using first line #1107

Closed

Description

@chinwobble

Great TUI!

As you mentioned a few times the tui is constrained especially in terms of vertical space.
I imagine you have intentionally made the look and feel of this app different to other project charm/opencode.

There's currently a lot of space wasted with blank lines especially at the top of the screen.

We currently have "layout":"stretch" and "layout":"auto".

This is my experience I can only see 7 lines of response at a time.
Can we change. Perhaps we do it in layout=stretch only
https://github.com/sst/opencode/blob/dev/packages/tui/internal/components/chat/messages.go#L500

-return "\n" + header + "\n"
+return "header + "\n"
Image

Activity

  1. changed the title [-]Create more vertical space by removing[/-] [+]Create more vertical space by using first line[/+] on Jul 17, 2025
  2. adamdotdevin commented on Jul 18, 2025

    @adamdotdevin
    Member

    why is your terminal so short? lol

  3. chinwobble commented on Jul 18, 2025

    @chinwobble
    Author

    why is your terminal so short? lol

    I have vision impairment so I run the terminal with larger font. This is also on an ultrawide monitor
    Would you be open to make this change so we can use more of the screen?

  4. thdxr commented on Jul 18, 2025

    @thdxr
    Member

    we probably need to be responsive vertically too and make it more compact if there's not enough vertical lines

  5. adamdotdevin commented on Jul 19, 2025

    @adamdotdevin
    Member

    why is your terminal so short? lol

    I have vision impairment so I run the terminal with larger font. This is also on an ultrawide monitor
    Would you be open to make this change so we can use more of the screen?

    (i'm sorry for being ignorant 🤦‍♂️)

  6. adamdotdevin commented on Jul 19, 2025

    @adamdotdevin
    Member

    we probably need to be responsive vertically too and make it more compact if there's not enough vertical lines

    yep, i'll work on this

  7. tgrushka commented on Sep 23, 2025

    @tgrushka

    Bless you @chinwobble . I am legally blind as well and have same issue as you. I didn't see this issue so I opened #2750 -- which the maintainer may see as a duplicate -- but it has a different description than yours so may give them more insight on the problem.

  8. felores commented on Nov 9, 2025

    @felores
    Image

    Not even mentioning the fact that the H1 title in the top bar is most of the times unrelated to the real topic of your thread

    The path at the bottom shows the first folders in the path, it should show only the last one

    I ❤️ opencode btw

  9. marked Top bar UX improvement #4130 as a duplicate of this issue on Nov 9, 2025
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