Skip to content

Create more vertical space by using first line #1107

@chinwobble

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

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