opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: focus mode to toggle off all the decorations

Open ahkohd opened this issue 2 months ago • 7 comments

Feature hasn't been suggested before.

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

Describe the enhancement you want to request

The user experience of opencode with large fonts isn’t great. This is partly because the decorations take up much more space than the actual content. Fortunately, you don’t need to see the decorations every time. A focus mode that only shows the input box and message area would be ideal, especially for users like me who use large fonts. This would free up valuable space.

Image

fig: opencode on Ghostty terminal at 40px font size and 75% cell height.

In the proposed focus mode, only the message area and message box should be displayed, excluding other UI decorations like the title, status bar, all areas marked with red box in the screenshot should not be visible in focus mode.

ahkohd avatar Nov 26 '25 16:11 ahkohd

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

  • #2750: Improve UI customization/accessibility - Requests ability to hide/minimize UI decorations, hide info bars, and implement compact UI mode for better space usage with large fonts
  • #3547: Small screen compatibility - Requests graceful UI collapse for small terminal heights, hiding less important elements
  • #2641: Remove warning banner - User wants to remove UI elements taking up screen space on small terminals
  • #1107: Create more vertical space by using first line - Requests removal of blank lines at top to maximize usable vertical space

Feel free to ignore if these don't address your specific case.

github-actions[bot] avatar Nov 26 '25 16:11 github-actions[bot]

@ahkohd you should update to 1.0.114 and tell me if it is any better for you

rekram1-node avatar Nov 26 '25 16:11 rekram1-node

may still require your feature request but we redid the tui so maybe its better

rekram1-node avatar Nov 26 '25 16:11 rekram1-node

@rekram1-node, thanks for the quick response, great work! It’s better but a focus mode would definitely enhance the experience.

Image

ahkohd avatar Nov 26 '25 16:11 ahkohd

+1 to this.

I typically work with a horizontal split, where my code editor is on top and my AI agent is on bottom. Unfortunately, opencode is all but useless in this layout.

Here are two screenshots using the same split size I enjoy. One is opencode and the other is claude code.

Image Image

You can see how much space is taken up by non-response information in opencode. Its great when opencode is in a full screen terminal, but it would be amazing to just have a zen or 'compact' layout, which just provides the minimal "here is a prompt box at the bottom" and everything above is just conversation.

ldelossa avatar Nov 29 '25 23:11 ldelossa

Should be addressed by https://github.com/sst/opencode/pull/5020 Check out the forked repo's layouts branch

avarayr avatar Dec 04 '25 16:12 avarayr

#5020

wow! will try it out.

ahkohd avatar Dec 05 '25 13:12 ahkohd