github / github/copilot-cli

improve handling of copy pasting leading /

Aberta
#1,727 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:input-keyboard
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the feature or problem you'd like to solve

avoid treating a copy pasted block of text that leads with / as a command

### Proposed solution

If i select `// foo` and copy paste it into the prompt window at the start of the prompt, the CLI attempts to parse this as a command so my prompt fails. Other tools treat pasted text as a block that both that isn't immediately treated as text, this seems like a nice ergonomic win that would address my immediate problem

### Example prompts or workflows

_No response_

### Additional context

_No response_

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.