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
Pressing Ctrl + C doesn't copy the text in an inline-terminal window of an error window. Pressing Ctrl + Shift + C or Enter doesn't work, either.
I was cloning a repository, but the clone failed many times. I wanted to ask what this error means, but I can't copy the message.
Release version
3.6.7-beta2 (x64)
Operating system
Windows 11 Pro for Workstations Insider Preview. Build 26340.9502.ge_prerelease_im.260912-1814
Steps to reproduce the behavior
Clone WordlessMeteor/LoL-Dragon-Change-S16.
An error message pops up.
Copy the error message in the inline terminal.
Or just try to copy any error message in any inline terminal.
Triage summary: This is a bug report — the user describes concrete, specific behavior (Ctrl+C, Ctrl+Shift+C, and Enter all fail to copy selected text from the inline-terminal used to show git error output) with clear repro steps, version (3.6.7-beta2), OS, and a log file/screenshot attached. It's related to prior "can't copy error text" reports (#21785, closed as fixed; #22591, still open) but those affect the plain-text "Commit Failed" modal, not the xterm-based inline terminal used for other git errors (e.g. clone failures), so I'm treating this as a distinct issue rather than a duplicate. Suggesting bug and priority-3, since a workaround exists (the attached log file contains the same error text) and it affects a specific UI surface rather than a core function.
Initial hypothesis: The inline terminal used to render git error output is the Terminal component in app/src/ui/terminal.tsx, which wraps @xterm/xterm and is invoked from app-error.tsx to display raw git error text. The component only customizes keyboard handling to block the Tab key (to preserve dialog tab navigation) and otherwise defers entirely to xterm.js's built-in key handling (attachCustomKeyEventHandler returns true for every other key, including Ctrl+C). There is no explicit clipboard/copy handling (no clipboard.writeText, execCommand('copy'), or selection-to-clipboard logic) anywhere in terminal.tsx. Since this terminal is read-only and never attached to a real pty, xterm.js's default Ctrl+C interception (normally meant to forward the keystroke to a shell process) may be swallowing the browser's native copy shortcut instead of falling back to copy-selection behavior, and no custom handler compensates for that in this read-only context. This would explain why Ctrl+C, Ctrl+Shift+C, and Enter all fail — they're all being intercepted by xterm's key handling with no code path that maps them to a clipboard copy action.
Activity
desktop-triage commentedon Sep 22, 2026
Triage summary: This is a bug report — the user describes concrete, specific behavior (Ctrl+C, Ctrl+Shift+C, and Enter all fail to copy selected text from the inline-terminal used to show git error output) with clear repro steps, version (3.6.7-beta2), OS, and a log file/screenshot attached. It's related to prior "can't copy error text" reports (#21785, closed as fixed; #22591, still open) but those affect the plain-text "Commit Failed" modal, not the xterm-based inline terminal used for other git errors (e.g. clone failures), so I'm treating this as a distinct issue rather than a duplicate. Suggesting
bugandpriority-3, since a workaround exists (the attached log file contains the same error text) and it affects a specific UI surface rather than a core function.Initial hypothesis: The inline terminal used to render git error output is the
Terminalcomponent in app/src/ui/terminal.tsx, which wraps@xterm/xtermand is invoked from app-error.tsx to display raw git error text. The component only customizes keyboard handling to block theTabkey (to preserve dialog tab navigation) and otherwise defers entirely to xterm.js's built-in key handling (attachCustomKeyEventHandlerreturnstruefor every other key, including Ctrl+C). There is no explicit clipboard/copy handling (noclipboard.writeText,execCommand('copy'), or selection-to-clipboard logic) anywhere interminal.tsx. Since this terminal is read-only and never attached to a real pty, xterm.js's default Ctrl+C interception (normally meant to forward the keystroke to a shell process) may be swallowing the browser's native copy shortcut instead of falling back to copy-selection behavior, and no custom handler compensates for that in this read-only context. This would explain why Ctrl+C, Ctrl+Shift+C, and Enter all fail — they're all being intercepted by xterm's key handling with no code path that maps them to a clipboard copy action.Add a Copy button to error dialogs
Add a Copy button to error dialogs
Add a Copy button to error dialogs
PtJade-Ceramic commentedon Nov 2, 2026
BTW this should be a feature request.