GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tui: allow pinning sessions in session list · Issue #63442 · anomalyco/opencode

tui: allow pinning sessions in session list #63442

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
tui: allow pinning sessions in session list#63442
Copy link
Labels
area/tuiTerminal interfaceplatform/windowsWindowstype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

Description

@LorenzoPigna
LorenzoPigna
opened on Nov 12, 2026
Issue body actions

Summary

Feature request for the TUI session list: the ability to pin sessions so they stay at the top of the list, regardless of recency sorting.

Environment

  • opencode version: 2.2.5
  • OS: Windows_NT 10.0.26200 (win32 x64)
  • Terminal: Unavailable: terminal environment variables are not set
  • Shell: C:\WINDOWS\system32\cmd.exe
  • Install/channel: latest
  • Active plugins: None found in config

Use Case

When working across multiple parallel sessions (e.g. several feature branches and PR reviews at once), the session list is ordered by recency, so important long-running sessions get pushed down by newer ones.

Pinning would let me keep key sessions (e.g. "PR and Merging Checking", "LP-02 adviser sort/filter") always visible at the top, instead of scrolling or searching for them every time.

Expected Behavior

  • A "pin" action in the session list (e.g. via a keybind or context menu) that pins a session to the top.
  • Pinned sessions are visually marked (e.g. a pin icon) and grouped above unpinned ones.
  • Pins persist across restarts.

Actual Behavior

Sessions are ordered by recency only. There is no way to pin a session, so frequently-needed sessions get buried under newer ones.

Additional Context

Happy with any reasonable keybind choice; something like p on a selected session in the session list would work well.

Activity

  1. opencodejr commented on Nov 12, 2026

    @opencodejr
    opencodejrBot
    on Nov 12, 2026
    Contributor
    More actions

    Thanks for the detailed request! I think this is a duplicate of #60236.

    The TUI already has session pinning. It's the session.pin.toggle keybind (ctrl+f by default), and pinned sessions show up in a Pinned group at the top of the session list. But when session tabs are on, the session list hides both the pin/unpin action and the Pinned group. Tabs come on by default with tabs.mode set to auto. That's probably why you see no way to pin.

    Workaround for now: turn tabs off in ~/.config/opencode/cli.json (C:\Users\<you>\.config\opencode\cli.json on Windows) and restart the TUI:

    {
      "tabs": { "mode": "off" }
    }

    Then ctrl+f on a selected session in /sessions should pin or unpin it.

    Related issues, ordered from most to least likely to be the same:

    • [FEATURE]: show pinned sessions in the session list when tabs are enabled #60236: asks for pinned sessions and the pin action to show in the session list when tabs are on. This is what you're asking for.
    • tui: /sessions shows no pin option and no Pinned section in 2.0.21 on Windows #52794: the same missing pin UI on Windows, reported as a bug. Its thread found the tabs-off workaround.
    • [FEATURE]: Session management features (archive, pin, hide, change order, treeview) #61746: a broader request for session management (archive, pin, hide, reorder).

    I'm closing this issue now as a duplicate of #60236. Please add your use case there. If I've got this wrong, reply here and the issue will reopen.

  2. opencodejr
    closed this as a duplicateof [FEATURE]: show pinned sessions in the session list when tabs are enabled #60236 on Nov 12, 2026
  3. opencodejr
    added
    area/tuiTerminal interface
    platform/windowsWindows
    type/featureNew behaviour or an improvement
    version/v2OpenCode 2.x
    on Nov 12, 2026
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

    area/tuiTerminal interfaceplatform/windowsWindowstype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.