CommandCodeAI / CommandCodeAI/command-code
Cannot paste clipboard images into the CLI prompt
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 4k
- Forks
- 350
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Summary
Pasting an image from the system clipboard into the Command Code CLI prompt does not attach the image. This prevents me from sharing screenshots directly during a session.
Expected Behavior
When an image is copied to the system clipboard and pasted into the prompt, Command Code should attach it as an image and show that it is ready to send.
Actual Behavior
Pasting an image from the clipboard does not attach anything to the prompt. Dragging the same image from the file manager into Command Code works correctly.
Steps to reproduce the issue
- Start Command Code with
cmd. - Copy a screenshot or image to the system clipboard.
- Focus the Command Code prompt.
- Use the terminal paste shortcut.
- Observe that no image is attached.
Command Code Version
1.54.1
Operating System
Linux
Terminal/IDE
Unknown
Shell
fish
Session file (optional)
No response
Fix prompt (optional)
Add clipboard image handling to the interactive prompt. Detect image clipboard data on paste, create an image attachment, and verify it works on Linux terminals without breaking normal text paste.
Additional context
Dragging an image file from the file manager into Command Code works correctly; only pasting image data directly from the clipboard fails. The issue reproduces in both Kitty and XFCE Terminal.
Command Code version: 1.54.1
OS: Linux
Shell: fish
Terminal/IDE: Kitty and XFCE Terminal
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza en el prompt interactivo iniciado por cmd y sigue cómo se gestiona la entrada pegada en el terminal, comparando los datos de imagen del portapapeles con la ruta existente y funcional para adjuntar mediante arrastrar y soltar. Reproduce el problema en Linux en Kitty o XFCE Terminal y verifica después que las imágenes pegadas se adjunten y que el pegado de texto normal no cambie.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- fish, linux
- Área
- cli, operating-systems
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100