feat(tui): align session composer chrome with opencode layout (08g) - #284
Merged
Merged
Conversation
Fold mode/model into the elevated prompt box and put usage/hints on the under-box row so the empty input bar reads tall like opencode; tighten sidebar padding and use max(6, h/3) as the textarea growth cap. Co-authored-by: Cursor <cursoragent@cursor.com>
Stop double-counting the hint row in autocomplete Y; size the textarea to barWidth-5 (border+padding under lipgloss v2); align resize with the guttered stream column; tighten tests and mode-line gap. Co-authored-by: Cursor <cursoragent@cursor.com>
Splash has no stream gutter; applying it there narrowed the home composer. Also truncate sidebar cwd for Padding(1,2). Co-authored-by: Cursor <cursoragent@cursor.com>
rotemmiz
added a commit
that referenced
this pull request
Jul 27, 2026
…284) * feat(tui): align session composer chrome with opencode layout (08g) Fold mode/model into the elevated prompt box and put usage/hints on the under-box row so the empty input bar reads tall like opencode; tighten sidebar padding and use max(6, h/3) as the textarea growth cap. * fix(tui): address 08g review — acPopupY and composer inner width Stop double-counting the hint row in autocomplete Y; size the textarea to barWidth-5 (border+padding under lipgloss v2); align resize with the guttered stream column; tighten tests and mode-line gap. * fix(tui): only gutter composer width on the session screen Splash has no stream gutter; applying it there narrowed the home composer. Also truncate sidebar cwd for Padding(1,2).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tab agents/ usage +ctrl+p commands).max(6, height/3)(overridable viaprompt.max_height).(1, 2)and denser title spacing; refresh canvas goldens + add 08g layout tests. Plan:plans/08g-tui-layout-chrome.md.Test plan
go test ./internal/tui/ -count=1golangci-lint run ./internal/tui/...