/exit command ending session rather than exiting the running CLI
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Reproduce the behavior by starting the CLI, creating a new session with /new, and entering /exit. Trace the command handling for /exit and the session lifecycle to identify why it returns to the base session. Done means /exit closes the CLI process from any session and returns to the original command window, with coverage for the reported sequence.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Shell
- Stars
- 11.3k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/copilot-cli
-
area:sessions
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
github/copilot-cli#5147 ·
-
area:input-keyboard
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
github/copilot-cli#5113 ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
github/copilot-cli#4963 · 1 comment ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
github/copilot-cli#4932 ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
github/copilot-cli#4909 ·
All issues in github/copilot-cli
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Netcracker/qubership-test-pipelines#307 ·
Maintainers usually reply within 2 days
-
Webcam overlay freezes during voxtype dictation while screen recording (pause_media pauses the overlay mpv)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
TYPO3BestPractices/tea#2409 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
msys2/MSYS2-packages#6825 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
fw876/helloworld#2067 ·
Maintainers usually reply within 1 day