open-cli-tools / open-cli-tools/concurrently

Terminal input prompt not shown on script exit

Open
#255 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
TypeScript
Stars
7.9k
Forks
281
Avg merge
17h 12m
Merged PRs (30d)
1

Description

after pressing ctrl+c to kill running server(s), the terminal input prompt is not shown again until pressing ctrl+c a second time.

input is still read by the terminal, but it seems as if stdout has not been restored or something

typing any command that outputs to stdout also restores the input prompt

Screenshot from 2021-01-16 03-05-47

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Reproduce the problem by running concurrent server commands, pressing Ctrl+C once, and observing whether the terminal prompt returns; then trace the CLI shutdown and terminal-output restoration path. Done means the prompt is visible immediately after the first Ctrl+C, with coverage for this exit scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.