You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: improve TUI clipboard paste and drag-and-drop file handling on Linux #14555
I have verified this feature I'm about to request hasn't been suggested before.
Related issues found: #4668 (drag-and-drop), #6331 (Linux paste in Konsole), #10154 (clipboard paste). This feature request covers all three problems with a unified implementation and additionally adds WezTerm-specific DnD support and non-image file attachment handling, which none of the existing issues address.
Describe the enhancement you want to request
The TUI currently has several limitations with paste and drag-and-drop on Linux:
Clipboard only reads PNG — images copied as JPEG, WebP, GIF, or BMP are silently ignored because clipboard.ts hardcodes image/png
No multi-file paste/drop support — dragging multiple files from a file manager (Nautilus, Thunar) pastes raw paths as text instead of attaching them as files
No non-image file attachments — PDFs, SVGs, code files, and directories pasted via path are not recognized as attachments
WezTerm drag-and-drop doesn't work — WezTerm sends DroppedFile events as space-separated, backslash-escaped paths (via quote_dropped_files = "SpacesOnly"), which is a different format from newline-separated paths that other file managers use
Expected behavior: Dragging files from a file manager into the TUI should display virtual tokens ([Image 1], [File: name.ext], [Dir: dirname/]) instead of raw path text. Clipboard paste should support all common image formats.
changed the title [-]feat: improve TUI clipboard paste and drag-and-drop file handling on Linux[/-][+][FEATURE]: improve TUI clipboard paste and drag-and-drop file handling on Linux[/+]on Feb 21, 2026
Activity
github-actions commentedon Feb 21, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:(e.g.,[FEATURE]: improve TUI clipboard paste and drag-and-drop file handling on Linux)Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
[-]feat: improve TUI clipboard paste and drag-and-drop file handling on Linux[/-][+][FEATURE]: improve TUI clipboard paste and drag-and-drop file handling on Linux[/+]github-actions commentedon Feb 21, 2026
Thanks for updating the issue! It now follows the contributing guidelines and feature request template. The compliance label has been removed.
github-actions commentedon Apr 23, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.