github / github/copilot-cli

improve handling of copy pasting leading /

Abierto
#1,727 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:input-keyboard
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.