copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Copilot CLI should notify when waiting for user input (blocking prompt visibility issue)

Open ebbywiselyn opened this issue 7 months ago • 5 comments

Describe the feature or problem you'd like to solve

When using the Copilot CLI for longer-running or multi-step tasks, the process often pauses waiting for user input (e.g., confirmation prompts or follow-up instructions). There is currently no built-in mechanism to notify the user that input is required. This creates a poor UX where: The CLI appears to still be working or “thinking” The user may switch context (editor, browser, etc.) Copilot is actually blocked waiting for input, causing unnecessary delays This is especially noticeable when running Copilot in background panes (e.g., tmux) or alongside tools like Emacs/vterm.

Proposed solution

Add a mechanism to notify the user when Copilot CLI is waiting for input.

Possible approaches:

Emit a terminal bell (\a) when prompting for input

Add a flag such as:

copilot --notify-on-input

Support a configurable notification hook:

COPILOT_NOTIFY_HOOK="notify-send 'Copilot needs input'" Optionally integrate with OS-level notifications (Linux/macOS)

Prevents wasted time waiting unknowingly Improves usability for long-running or semi-autonomous workflows Makes Copilot CLI more viable for background or multi-pane usage Aligns with how developers actually multitask in terminal-heavy environments

Example prompts or workflows

Example prompts or workflows

Running a refactor across multiple files:

copilot "refactor this module to use async patterns" Copilot pauses for confirmation, but the user has already switched context. Generating and reviewing code changes:

copilot "apply these changes and show diff before committing" CLI waits for approval without any notification.

Iterative instruction workflow:

copilot

analyze this file suggest improvements

Copilot asks follow-up questions, but the user doesn’t notice immediately.

Running Copilot in a tmux split while editing elsewhere: Copilot blocks on input No visible signal unless actively watching that pane

Additional context

No response

ebbywiselyn avatar Apr 11 '26 22:04 ebbywiselyn

This should be addressed in current releases. The CLI emits a terminal bell for tool, path, and plan approval prompts, controlled by the beep setting, which is enabled by default. In v1.0.18, notification hooks were also added for permission_prompt and elicitation_dialog, so you can run custom scripts such as notify-send for those input-waiting scenarios. If you're still seeing cases where the CLI waits for input without any noticeable signal, please comment with details and we'll take another look.

examon avatar Apr 12 '26 23:04 examon

I have other problem - copilot cli spams extremely many notifications. I have iterm notifications and it spams like every 3 seconds

vbalko-claimate avatar Apr 20 '26 16:04 vbalko-claimate

@vbalko-claimate did you manage to find a fix? It wasn't like that forever, started somewhere April, maybe March.

trumpets avatar May 13 '26 18:05 trumpets

@vbalko-claimate did you manage to find a fix? It wasn't like that forever, started somewhere April, maybe March.

no - i dont have this problem anymore - it was some fix by app itself

vbalko-claimate avatar May 19 '26 10:05 vbalko-claimate

controlled by the beep setting, which is enabled by default

$ copilot help config | grep beep
  `beep`: whether to beep when user attention is required; defaults to `false`.

Default apparently is false today (1.0.73)

petski avatar Jul 23 '26 11:07 petski