Skip to content

new session clears current prompt input #4872

Closed

Description

@DanielFGray

Description

sometimes i am in a session and i decide i want some prompt ive typed to run in a new session. i <C-x> n to new session and my prompt is cleared and I cry

please preserve the prompt when creating a new session

OpenCode version

1.0.119

Steps to reproduce

  1. have existing session
  2. type prompt
  3. try to start new session with prompt
  4. prompt disappears

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 28, 2025
  2. github-actions commented on Nov 28, 2025

    @github-actions
    Contributor

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

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

  3. self-assigned this
    on Nov 28, 2025
  4. deleted a comment from fwang on Nov 28, 2025
  5. rekram1-node commented on Nov 28, 2025

    @rekram1-node
    Collaborator

    /oc can you fix this?

  6. opencode-agent commented on Nov 28, 2025

    @opencode-agent
    Contributor

    Created PR #4878

    New%20session%20-%202025-11-28T20%3A43%3A35.984Z
    opencode session  |  github run

  7. rekram1-node commented on Dec 4, 2025

    @rekram1-node
    Collaborator

    should be fixed in next release

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions