Skip to content

In a view with many projects, it is almost impossible to switch tabs without closing them. #50196

Open

Description

@zephirusgit

I have several projects going at once, and each tab is basically just an "X" with a tiny margin; whenever I try to switch tabs, I end up closing them instead. I think the display method needs rethinking—something more like a web browser where you can just scroll through them if there are too many to fit. Right now, it tries to show everything at once (which is impossible) and prioritizes the close button over everything else. Luckily, I asked Gemini and it told me I could recover what I closed using Ctrl+Shift+T—thank goodness for that, since I was still working on it. Anyway, I don't see any options to view past chats. Maybe I'm just missing something, but is there a way to see them in a sidebar, like in other AI chat apps? That would be really useful. Thanks.

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr

    Thanks for the detailed feedback, @zephirusgit!

    Your request is that the top session tabs stop shrinking until they're basically just a close button. Instead they would keep a usable width and scroll like browser tabs when they don't fit, so clicking a tab switches to it instead of closing it. You'd also like an easy way to browse past chats. Maintainers will consider it.

    In the meantime, a couple of existing options may help:

    • Vertical tabs: Settings → Appearance → Tabs → Vertical (or Settings → General → Interface → Side tabs) moves the tabs into a sidebar. Each tab gets a full row there, so it's much harder to close one by accident.
    • Past chats: the Search sessions button/command in the titlebar lets you find and reopen earlier sessions.
    • As you found, Ctrl+Shift+T reopens the most recently closed tab.

    If you're not on OpenCode 2.x (check with opencode --version), please mention your version here, since the app works quite differently in 1.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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