claude-code - 💡(How to fix) Fix C:/Program Files/Git/goal (and slash commands) pasted from mobile do not execute — requires follow-up prompt to fire

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

Mobile paste likely doesn't emit the submit/newline event that desktop paste includes. The input handler may only dispatch slash command processing on an explicit submit signal — which desktop paste provides but mobile paste does not. The command is in the buffer; it just never gets dispatched.

RAW_BUFFERClick to expand / collapse

Describe the bug:

When /goal and likely other slash commands are pasted from a mobile device, the command does not execute. Nothing happens. The command only fires if the user follows up with an additional prompt after pasting.

When the same text is pasted from desktop, the slash command executes immediately as expected.

Reproduction:

  1. Desktop: paste /goal <agent-name> <path-argument> → command executes immediately ✅
  2. Mobile: paste /goal <agent-name> <path-argument> → nothing happens ❌
  3. Mobile, after step 2: type any follow-up text and submit → command now fires ✅

Expected behavior:

/goal and all slash commands should execute on paste from any input surface, including mobile.

Actual behavior:

Mobile paste does not trigger slash command execution. The command text lands in the input buffer but sits inert until a follow-up prompt is sent.

Hypothesis:

Mobile paste likely doesn't emit the submit/newline event that desktop paste includes. The input handler may only dispatch slash command processing on an explicit submit signal — which desktop paste provides but mobile paste does not. The command is in the buffer; it just never gets dispatched.

Environment:

  • Claude Code CLI v2.1.145
  • Mobile input surface (paste from iOS/Android)
  • /goal confirmed affected; likely all / slash commands

Severity: Medium — blocks workflows initiated from mobile. For users who start autonomous overnight runs from mobile (set a goal, go to sleep), a paste that silently doesn't fire means the run never starts.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING