Cannot paste clipboard images into the CLI prompt

Offen
#864 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
fish, linux

Rechercherichtung

Beginne an der interaktiven Eingabeaufforderung, die von cmd gestartet wird, und verfolge, wie Einfügeeingaben im Terminal verarbeitet werden; vergleiche dabei Bilddaten aus der Zwischenablage mit dem bestehenden funktionierenden Pfad für Anhänge per Drag-and-Drop. Reproduziere das Problem unter Linux in Kitty oder XFCE Terminal und überprüfe anschließend, dass eingefügte Bilder angehängt werden und das Einfügen von normalem Text unverändert bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
  1. Start Command Code with cmd.
  2. Copy a screenshot or image to the system clipboard.
  3. Focus the Command Code prompt.
  4. Use the terminal paste shortcut.
  5. 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

Vorherrschende Sprache
Keine Sprachdaten
Sterne
4k
Forks
350
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommandCodeAI/command-code

Alle Issues in CommandCodeAI/command-code

Ähnliche Issues

Weitere Issues zu CLI

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.