Skip to content

/exit command ending session rather than exiting the running CLI #4996

Description

@AlexanderMehtaPDMS

Describe the bug

Using the command /exit is not quitting the current running cli instance and is instead closing the current session I have running rather than exiting the CLI

Affected version

No response

Steps to reproduce the behavior

Start CLI
Perform actions in base session
Type "/new" to begin a new session with clean context
Perform actions in new session
Type "/exit" to close the CLI as I am done with it

Rather than exit the CLI the latest session is closed and I am returned to the original base session and have to type "/exit" again

Expected behavior

The running instance of copilot CLI will close and will be present with the original cmd window I used to start the cli

Additional context

No response

Activity

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:sessionsSession management, resume, history, session picker, and session state

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions